summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-08-26 20:58:34 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-08-26 20:58:34 +0300
commita7bd18f9f2d684a2b37208e3ebd26d763bbc1ef3 (patch)
treecb46ef193eab61bab31cfd5881f7913f485d6723
parente8975207535decfca0f8bc53d3a91ece6be146dd (diff)
downloadgitlab-ce-a7bd18f9f2d684a2b37208e3ebd26d763bbc1ef3.tar.gz
Fix mailer tests
-rw-r--r--spec/mailers/notify_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb
index 7d6647e0983..2f0475e5f02 100644
--- a/spec/mailers/notify_spec.rb
+++ b/spec/mailers/notify_spec.rb
@@ -320,7 +320,7 @@ describe Notify do
it_behaves_like 'a note email'
it 'has the correct subject' do
- should have_subject /note for merge request !#{merge_request.id}/
+ should have_subject /note for merge request !#{merge_request.iid}/
end
it 'contains a link to the merge request note' do
@@ -338,7 +338,7 @@ describe Notify do
it_behaves_like 'a note email'
it 'has the correct subject' do
- should have_subject /note for issue ##{issue.id}/
+ should have_subject /note for issue ##{issue.iid}/
end
it 'contains a link to the issue note' do