summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-06-06 07:48:09 +0000
committerRémy Coutable <remy@rymai.me>2017-06-06 07:48:09 +0000
commit17feb2faa71416b3459003eeb2a877f2c65dd3ef (patch)
tree2e69ac4758ec4e04e67c9c040fd8c398ab084939 /spec/features
parent6251df6d6a1862562ce4c5fa28f432bf9662e3c3 (diff)
parenta048e4a4717f71ecf1a1780d55639b029be5d71e (diff)
downloadgitlab-ce-17feb2faa71416b3459003eeb2a877f2c65dd3ef.tar.gz
Merge branch 'issue-23254' into 'master'
Cleanup style of confirmation page See merge request !11774
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/unsubscribe_links_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/unsubscribe_links_spec.rb b/spec/features/unsubscribe_links_spec.rb
index a23c4ca2b92..8509551ce4a 100644
--- a/spec/features/unsubscribe_links_spec.rb
+++ b/spec/features/unsubscribe_links_spec.rb
@@ -24,8 +24,8 @@ describe 'Unsubscribe links', feature: true do
visit body_link
expect(current_path).to eq unsubscribe_sent_notification_path(SentNotification.last)
- expect(page).to have_text(%(Unsubscribe from issue #{issue.title} (#{issue.to_reference})))
- expect(page).to have_text(%(Are you sure you want to unsubscribe from issue #{issue.title} (#{issue.to_reference})?))
+ expect(page).to have_text(%(Unsubscribe from issue))
+ expect(page).to have_text(%(Are you sure you want to unsubscribe from the issue: #{issue.title} (#{issue.to_reference})?))
expect(issue.subscribed?(recipient, project)).to be_truthy
click_link 'Unsubscribe'