summaryrefslogtreecommitdiff
path: root/spec/mailers
diff options
context:
space:
mode:
authortiagonbotelho <tiagonbotelho@hotmail.com>2016-10-03 13:11:16 +0100
committertiagonbotelho <tiagonbotelho@hotmail.com>2016-10-11 16:33:06 +0100
commitc90483406ecc2717076391737ff57167b5a03393 (patch)
treee63d729dc90a5b92f33df208c3aaa49058b7c780 /spec/mailers
parentff076d88df70a70f6534faefefdca92b059318bf (diff)
downloadgitlab-ce-c90483406ecc2717076391737ff57167b5a03393.tar.gz
refactors tests because of gitlab-test repository changes20708-new-branch-is-immediatelly-tagged-as-merged
Diffstat (limited to 'spec/mailers')
-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 0e4130e8a3a..c8207e58e90 100644
--- a/spec/mailers/notify_spec.rb
+++ b/spec/mailers/notify_spec.rb
@@ -628,7 +628,7 @@ describe Notify do
it_behaves_like 'a user cannot unsubscribe through footer link'
it 'has the correct subject' do
- is_expected.to have_subject /#{commit.title} \(#{commit.short_id}\)/
+ is_expected.to have_subject /Re: #{project.name} | #{commit.title} \(#{commit.short_id}\)/
end
it 'contains a link to the commit' do