Commit a7bd18f9 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix mailer tests

parent e8975207
...@@ -320,7 +320,7 @@ describe Notify do ...@@ -320,7 +320,7 @@ describe Notify do
it_behaves_like 'a note email' it_behaves_like 'a note email'
it 'has the correct subject' do 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 end
it 'contains a link to the merge request note' do it 'contains a link to the merge request note' do
...@@ -338,7 +338,7 @@ describe Notify do ...@@ -338,7 +338,7 @@ describe Notify do
it_behaves_like 'a note email' it_behaves_like 'a note email'
it 'has the correct subject' do it 'has the correct subject' do
should have_subject /note for issue ##{issue.id}/ should have_subject /note for issue ##{issue.iid}/
end end
it 'contains a link to the issue note' do it 'contains a link to the issue note' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment