From 345df20870b718daa74c0177221c00cdec6083f3 Mon Sep 17 00:00:00 2001 From: Jarka Kadlecova Date: Fri, 11 Aug 2017 17:26:43 +0200 Subject: Fix specs - delete comment is now a button instead of simple link --- spec/support/features/reportable_note_shared_examples.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/support/features/reportable_note_shared_examples.rb b/spec/support/features/reportable_note_shared_examples.rb index dbe1c9b8aec..c3a0623409b 100644 --- a/spec/support/features/reportable_note_shared_examples.rb +++ b/spec/support/features/reportable_note_shared_examples.rb @@ -16,7 +16,7 @@ shared_examples 'reportable note' do open_dropdown(dropdown) expect(dropdown).to have_button('Edit comment') - expect(dropdown).to have_link('Delete comment') + expect(dropdown).to have_button('Delete comment') expect(dropdown).to have_link('Report as abuse', href: abuse_report_path) end -- cgit v1.2.1