diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-05-05 12:44:03 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-05-05 12:44:03 +0300 |
commit | 3592a59715aa254e26cf1769635d337387984bcc (patch) | |
tree | 01747a2c4fe6770bbe32d0ed4dd61d8e2cb28f3d /features | |
parent | ccd9c4be00a1e783b6d8c821aaec2b975e4a3176 (diff) | |
parent | c583433862558550c8caedb03217880568dcdefc (diff) |
Merge branch 'master' into group-navigation-redesign
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/commits/tags.rb | 4 | ||||
-rw-r--r-- | features/steps/user.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/features/steps/project/commits/tags.rb b/features/steps/project/commits/tags.rb index eff4234a44a..912ba580efd 100644 --- a/features/steps/project/commits/tags.rb +++ b/features/steps/project/commits/tags.rb @@ -57,11 +57,11 @@ class Spinach::Features::ProjectCommitsTags < Spinach::FeatureSteps end step 'I should see new an error that tag ref is invalid' do - expect(page).to have_content 'Invalid reference name' + expect(page).to have_content 'Target foo is invalid' end step 'I should see new an error that tag already exists' do - expect(page).to have_content 'Tag already exists' + expect(page).to have_content 'Tag v1.0.0 already exists' end step "I visit tag 'v1.1.0' page" do diff --git a/features/steps/user.rb b/features/steps/user.rb index 3230234cb6d..b1d088f07f9 100644 --- a/features/steps/user.rb +++ b/features/steps/user.rb @@ -12,7 +12,7 @@ class Spinach::Features::User < Spinach::FeatureSteps user = User.find_by(name: 'John Doe') project = contributed_project - # Issue controbution + # Issue contribution issue_params = { title: 'Bug in old browser' } Issues::CreateService.new(project, user, issue_params).execute @@ -28,7 +28,7 @@ class Spinach::Features::User < Spinach::FeatureSteps end step 'I should see contributed projects' do - page.within '.contributed-projects' do + page.within '#contributed' do expect(page).to have_content(@contributed_project.name) end end |