diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-02-20 17:43:28 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-02-25 13:13:27 +0100 |
commit | 607f0c05feb2cde82493a36ac43ba5ecd6c71620 (patch) | |
tree | 34a0bdd31f5e022ce077475d069f2ec1a6d77dc7 /spec/mailers | |
parent | a30a56634d3ea44ccfc69c037324b502456f9aba (diff) | |
download | gitlab-ce-607f0c05feb2cde82493a36ac43ba5ecd6c71620.tar.gz |
Change EmailsOnPush subject to include namespace, repo and branch.
See #1827.
Diffstat (limited to 'spec/mailers')
-rw-r--r-- | spec/mailers/notify_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb index 3b09c618f2a..ae2b61262bd 100644 --- a/spec/mailers/notify_spec.rb +++ b/spec/mailers/notify_spec.rb @@ -583,7 +583,7 @@ describe Notify do end it 'has the correct subject' do - is_expected.to have_subject /#{commits.length} new commits pushed to repository/ + is_expected.to have_subject /\[#{project.path_with_namespace}\]\[master\] #{commits.length} commits:/ end it 'includes commits list' do |