diff options
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/abuse_reports.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/features/steps/abuse_reports.rb b/features/steps/abuse_reports.rb index 623807dac82..56652ff6f05 100644 --- a/features/steps/abuse_reports.rb +++ b/features/steps/abuse_reports.rb @@ -22,9 +22,8 @@ class Spinach::Features::AbuseReports < Spinach::FeatureSteps user_mike end - step 'I should not see the "Remove abuse" dropdown / button' do - expect(find(:css, '#report_abuse')).not_to have_selector(:css, 'ul.dropdown-menu') - expect(find(:css, '#report_abuse')).to have_selector(:css, '.btn-close') + step 'I should see a red "Report abuse" button' do + expect(find(:css, '.report_abuse')).to have_selector(:css, 'span.btn-close') end def user_mike |