diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-10-21 10:24:06 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-10-21 10:24:06 +0200 |
commit | d37cf6423759e445f0bff5121eb1ed1467ae0fd1 (patch) | |
tree | a82936658ac1058e96d535af7ef17ca0eb5bf790 /features/steps | |
parent | d9944fdb59fe286022130f133f316b80dec04ea6 (diff) | |
parent | 35618a3dfffe546744123bcaf560ba9f74c42eef (diff) | |
download | gitlab-ce-d37cf6423759e445f0bff5121eb1ed1467ae0fd1.tar.gz |
Merge branch 'master' into hanloong/gitlab-ce-add-dates-snippets-show
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/abuse_reports.rb | 2 | ||||
-rw-r--r-- | features/steps/project/project.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/abuse_reports.rb b/features/steps/abuse_reports.rb index 56652ff6f05..499accb0b08 100644 --- a/features/steps/abuse_reports.rb +++ b/features/steps/abuse_reports.rb @@ -23,7 +23,7 @@ class Spinach::Features::AbuseReports < Spinach::FeatureSteps end step 'I should see a red "Report abuse" button' do - expect(find(:css, '.report_abuse')).to have_selector(:css, 'span.btn-close') + expect(page).to have_button("Already reported for abuse") end def user_mike diff --git a/features/steps/project/project.rb b/features/steps/project/project.rb index 15f77734cb2..d76891d5bde 100644 --- a/features/steps/project/project.rb +++ b/features/steps/project/project.rb @@ -86,13 +86,13 @@ class Spinach::Features::Project < Spinach::FeatureSteps end step 'I should see project "Forum" README' do - page.within('#README') do + page.within('.readme-holder') do expect(page).to have_content 'Sample repo for testing gitlab features' end end step 'I should see project "Shop" README' do - page.within('#README') do + page.within('.readme-holder') do expect(page).to have_content 'testme' end end |