Fix specs - delete comment is now a button instead of simple link

This commit is contained in:
Jarka Kadlecova 2017-08-11 17:26:43 +02:00
parent b96a3d4d60
commit 345df20870
1 changed files with 1 additions and 1 deletions

View File

@ -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