summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-10-21 10:24:06 +0200
committerDouwe Maan <douwe@gitlab.com>2015-10-21 10:24:06 +0200
commitd37cf6423759e445f0bff5121eb1ed1467ae0fd1 (patch)
treea82936658ac1058e96d535af7ef17ca0eb5bf790 /features
parentd9944fdb59fe286022130f133f316b80dec04ea6 (diff)
parent35618a3dfffe546744123bcaf560ba9f74c42eef (diff)
downloadgitlab-ce-d37cf6423759e445f0bff5121eb1ed1467ae0fd1.tar.gz
Merge branch 'master' into hanloong/gitlab-ce-add-dates-snippets-show
Diffstat (limited to 'features')
-rw-r--r--features/steps/abuse_reports.rb2
-rw-r--r--features/steps/project/project.rb4
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