Commit a7bd18f9f2d684a2b37208e3ebd26d763bbc1ef3
1 parent
e8975207
Exists in
master
and in
4 other branches
Fix mailer tests
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
spec/mailers/notify_spec.rb
... | ... | @@ -320,7 +320,7 @@ describe Notify do |
320 | 320 | it_behaves_like 'a note email' |
321 | 321 | |
322 | 322 | it 'has the correct subject' do |
323 | - should have_subject /note for merge request !#{merge_request.id}/ | |
323 | + should have_subject /note for merge request !#{merge_request.iid}/ | |
324 | 324 | end |
325 | 325 | |
326 | 326 | it 'contains a link to the merge request note' do |
... | ... | @@ -338,7 +338,7 @@ describe Notify do |
338 | 338 | it_behaves_like 'a note email' |
339 | 339 | |
340 | 340 | it 'has the correct subject' do |
341 | - should have_subject /note for issue ##{issue.id}/ | |
341 | + should have_subject /note for issue ##{issue.iid}/ | |
342 | 342 | end |
343 | 343 | |
344 | 344 | it 'contains a link to the issue note' do | ... | ... |