summaryrefslogtreecommitdiff
path: root/spec/mailers
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-09 09:46:23 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-09 09:46:23 +0300
commit3b34084bdeadecdceb0a86e2820dd7c5985099f6 (patch)
treef5c36af4cdaa807ad55e8b3c49a3cbb0c75ef519 /spec/mailers
parentb8115e76a4ba8b2ac6ec79c43217d4ecff1e44bb (diff)
downloadgitlab-ce-3b34084bdeadecdceb0a86e2820dd7c5985099f6.tar.gz
Fix notify specs
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/mailers')
-rw-r--r--spec/mailers/notify_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb
index e86a60a42b5..3b075044955 100644
--- a/spec/mailers/notify_spec.rb
+++ b/spec/mailers/notify_spec.rb
@@ -239,7 +239,7 @@ describe Notify do
it_behaves_like 'an assignee email'
it 'has the correct subject' do
- should have_subject /#{merge_request.title} \(!#{merge_request.iid}\)/
+ should have_subject /#{merge_request.title} \(##{merge_request.iid}\)/
end
it 'contains a link to the new merge request' do
@@ -275,7 +275,7 @@ describe Notify do
end
it 'has the correct subject' do
- should have_subject /#{merge_request.title} \(!#{merge_request.iid}\)/
+ should have_subject /#{merge_request.title} \(##{merge_request.iid}\)/
end
it 'contains the name of the previous assignee' do
@@ -303,7 +303,7 @@ describe Notify do
end
it 'has the correct subject' do
- should have_subject /#{merge_request.title} \(!#{merge_request.iid}\)/
+ should have_subject /#{merge_request.title} \(##{merge_request.iid}\)/
end
it 'contains the new status' do
@@ -426,7 +426,7 @@ describe Notify do
it_behaves_like 'a note email'
it 'has the correct subject' do
- should have_subject /#{merge_request.title} \(!#{merge_request.iid}\)/
+ should have_subject /#{merge_request.title} \(##{merge_request.iid}\)/
end
it 'contains a link to the merge request note' do