summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorMarc Schwede <git@schwedenmut.de>2019-06-06 10:05:42 +0000
committerFilipa Lacerda <filipa@gitlab.com>2019-06-06 10:05:42 +0000
commit982463e944e0af140dc31c8e64a995b476294e82 (patch)
tree882066bb669ebc07c81ec8609b189814aaf04dcc /spec/support
parente53f475e4a6aaaee526e95c2e922e87b4ef98d32 (diff)
downloadgitlab-ce-982463e944e0af140dc31c8e64a995b476294e82.tar.gz
Change "Report abuse to GitLab" to more generic wording.
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/features/reportable_note_shared_examples.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/features/reportable_note_shared_examples.rb b/spec/support/features/reportable_note_shared_examples.rb
index 89dfbf931d2..5d5a0a7b5d2 100644
--- a/spec/support/features/reportable_note_shared_examples.rb
+++ b/spec/support/features/reportable_note_shared_examples.rb
@@ -20,7 +20,7 @@ shared_examples 'reportable note' do |type|
dropdown = comment.find(more_actions_selector)
open_dropdown(dropdown)
- expect(dropdown).to have_link('Report abuse to GitLab', href: abuse_report_path)
+ expect(dropdown).to have_link('Report abuse to admin', href: abuse_report_path)
if type == 'issue' || type == 'merge_request'
expect(dropdown).to have_button('Delete comment')
@@ -33,7 +33,7 @@ shared_examples 'reportable note' do |type|
dropdown = comment.find(more_actions_selector)
open_dropdown(dropdown)
- dropdown.click_link('Report abuse to GitLab')
+ dropdown.click_link('Report abuse to admin')
expect(find('#user_name')['value']).to match(note.author.username)
expect(find('#abuse_report_message')['value']).to match(noteable_note_url(note))