summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarka Kadlecova <jarka@gitlab.com>2017-08-11 17:26:43 +0200
committerJarka Kadlecova <jarka@gitlab.com>2017-08-11 17:26:43 +0200
commit345df20870b718daa74c0177221c00cdec6083f3 (patch)
tree51528f0eee5b7aa0d0011f9913814c3ad5e6a4a0
parentb96a3d4d60747102bc437c99b4d040c5c0329689 (diff)
downloadgitlab-ce-345df20870b718daa74c0177221c00cdec6083f3.tar.gz
Fix specs - delete comment is now a button instead of simple link
-rw-r--r--spec/support/features/reportable_note_shared_examples.rb2
1 files changed, 1 insertions, 1 deletions
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