summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-10-16 13:24:28 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-10-16 13:24:28 +0200
commit7c85ebf6dc9c083d53642cbe2b6a5276c6b95aa6 (patch)
tree33be59551ae2ed7a5168908a264a6310fe88f2de /features
parent19cfa86aa3db83fcd90f3dd967c18ad3cd3e729e (diff)
downloadgitlab-ce-user-page-new-ui.tar.gz
Partly implement new UI for user pageuser-page-new-ui
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features')
-rw-r--r--features/steps/abuse_reports.rb2
1 files changed, 1 insertions, 1 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