summaryrefslogtreecommitdiff
path: root/spec/mailers/notify_spec.rb
diff options
context:
space:
mode:
author🙈 jacopo beschi 🙉 <intrip@gmail.com>2018-05-17 09:19:47 +0000
committerDouwe Maan <douwe@gitlab.com>2018-05-17 09:19:47 +0000
commit01275667e323d4702cc396f6f756305b06cba726 (patch)
treeae8b900f5b94994f3126b1aff5b672eb02109722 /spec/mailers/notify_spec.rb
parentbbd8d5b270a92b2b3ff707279cdac6d83ba67edf (diff)
downloadgitlab-ce-01275667e323d4702cc396f6f756305b06cba726.tar.gz
Resolve "Opening Project with invite but without accepting leads to 404 error page"
Diffstat (limited to 'spec/mailers/notify_spec.rb')
-rw-r--r--spec/mailers/notify_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb
index 84ddbbbf2ee..8a52c151cc4 100644
--- a/spec/mailers/notify_spec.rb
+++ b/spec/mailers/notify_spec.rb
@@ -594,7 +594,7 @@ describe Notify do
it 'contains all the useful information' do
is_expected.to have_subject "Invitation to join the #{project.full_name} project"
is_expected.to have_html_escaped_body_text project.full_name
- is_expected.to have_body_text project.web_url
+ is_expected.to have_body_text project.full_name
is_expected.to have_body_text project_member.human_access
is_expected.to have_body_text project_member.invite_token
end