Fix specs - delete comment is now a button instead of simple link
This commit is contained in:
parent
b96a3d4d60
commit
345df20870
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue