diff options
author | Gustav Ernberg <gustav@exceed-it.se> | 2017-05-29 22:18:09 +0200 |
---|---|---|
committer | Gustav Ernberg <gustav@exceed-it.se> | 2017-06-03 17:06:44 +0200 |
commit | a048e4a4717f71ecf1a1780d55639b029be5d71e (patch) | |
tree | 36a786adae330f315f56b521bdff8fc161db4b9a /spec/features/unsubscribe_links_spec.rb | |
parent | 3ad3f906d97c0cb2e3d91f04e8dd100937421420 (diff) | |
download | gitlab-ce-a048e4a4717f71ecf1a1780d55639b029be5d71e.tar.gz |
Fixed style on unsubscribe page
Removed unnecassary logic
Added missing 'the'
Fix case
Fixed specs
Diffstat (limited to 'spec/features/unsubscribe_links_spec.rb')
-rw-r--r-- | spec/features/unsubscribe_links_spec.rb | 4 |
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' |