diff options
author | Jeremy Watson <jwatson@gitlab.com> | 2018-11-07 11:24:36 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-11-07 11:24:36 +0000 |
commit | 28840d3f5ce50552dfdfefecedf6c5d631848c86 (patch) | |
tree | b3d26774176e1f9aa6a1d576ce76312e391ab4fe /spec/support/features | |
parent | 4a5d04fb3f73ab1e77978b5d13538747846db761 (diff) | |
download | gitlab-ce-28840d3f5ce50552dfdfefecedf6c5d631848c86.tar.gz |
Copy changes for abuse clarity
Diffstat (limited to 'spec/support/features')
-rw-r--r-- | spec/support/features/reportable_note_shared_examples.rb | 4 |
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 89a5518239d..8cfce49da8a 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 as abuse', href: abuse_report_path) + expect(dropdown).to have_link('Report abuse to GitLab', 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 as abuse') + dropdown.click_link('Report abuse to GitLab') expect(find('#user_name')['value']).to match(note.author.username) expect(find('#abuse_report_message')['value']).to match(noteable_note_url(note)) |