summaryrefslogtreecommitdiff
path: root/spec/features/unsubscribe_links_spec.rb
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-09-20 09:52:06 +0200
committerRémy Coutable <remy@rymai.me>2016-09-20 12:24:53 +0200
commitce12749a8a64a880ff415941d7efc9e45d87aa94 (patch)
treea4fa2cdb55705222fab55dfbdb6e9ff65e23240c /spec/features/unsubscribe_links_spec.rb
parentc61a54f7fe932b9b76ce930aaccb04f897c4093b (diff)
downloadgitlab-ce-ce12749a8a64a880ff415941d7efc9e45d87aa94.tar.gz
Improve the Unsubscribe confirmation page
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/features/unsubscribe_links_spec.rb')
-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 3802f5f1335..cc40671787c 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 #{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(issue.subscribed?(recipient)).to be_truthy
click_link 'Unsubscribe'