Commit 3b34084b authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix notify specs

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent b8115e76
...@@ -239,7 +239,7 @@ describe Notify do ...@@ -239,7 +239,7 @@ describe Notify do
it_behaves_like 'an assignee email' it_behaves_like 'an assignee email'
it 'has the correct subject' do 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 end
it 'contains a link to the new merge request' do it 'contains a link to the new merge request' do
...@@ -275,7 +275,7 @@ describe Notify do ...@@ -275,7 +275,7 @@ describe Notify do
end end
it 'has the correct subject' do 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 end
it 'contains the name of the previous assignee' do it 'contains the name of the previous assignee' do
...@@ -303,7 +303,7 @@ describe Notify do ...@@ -303,7 +303,7 @@ describe Notify do
end end
it 'has the correct subject' do 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 end
it 'contains the new status' do it 'contains the new status' do
...@@ -426,7 +426,7 @@ describe Notify do ...@@ -426,7 +426,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 /#{merge_request.title} \(!#{merge_request.iid}\)/ should have_subject /#{merge_request.title} \(##{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
......
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