Commit 345df208 authored by Jarka Kadlecova's avatar Jarka Kadlecova

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

parent b96a3d4d
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment