diff options
-rw-r--r-- | spec/support/features/reportable_note_shared_examples.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/support/features/reportable_note_shared_examples.rb b/spec/support/features/reportable_note_shared_examples.rb index be7d092d28c..e2158b8ed34 100644 --- a/spec/support/features/reportable_note_shared_examples.rb +++ b/spec/support/features/reportable_note_shared_examples.rb @@ -16,13 +16,12 @@ shared_examples 'reportable note' do |type| open_dropdown(dropdown) if type == 'issue' - expect(dropdown).to have_button('Edit comment') expect(dropdown).to have_button('Delete comment') else - expect(dropdown).to have_link('Edit comment') expect(dropdown).to have_link('Delete comment') end + expect(dropdown).to have_button('Edit comment') expect(dropdown).to have_link('Report as abuse', href: abuse_report_path) end |