Stop calling #strip in a commit title in Notify specs
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
e2809a1649
commit
86af197cc2
|
@ -602,7 +602,7 @@ describe Notify do
|
||||||
|
|
||||||
it 'has the correct subject and body' do
|
it 'has the correct subject and body' do
|
||||||
aggregate_failures do
|
aggregate_failures do
|
||||||
is_expected.to have_subject("Re: #{project.name} | #{commit.title.strip} (#{commit.short_id})")
|
is_expected.to have_subject("Re: #{project.name} | #{commit.title} (#{commit.short_id})")
|
||||||
is_expected.to have_body_text(commit.short_id)
|
is_expected.to have_body_text(commit.short_id)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -712,7 +712,7 @@ describe Notify do
|
||||||
it_behaves_like 'a user cannot unsubscribe through footer link'
|
it_behaves_like 'a user cannot unsubscribe through footer link'
|
||||||
|
|
||||||
it 'has the correct subject' do
|
it 'has the correct subject' do
|
||||||
is_expected.to have_subject "Re: #{project.name} | #{commit.title.strip} (#{commit.short_id})"
|
is_expected.to have_subject "Re: #{project.name} | #{commit.title} (#{commit.short_id})"
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'contains a link to the commit' do
|
it 'contains a link to the commit' do
|
||||||
|
|
Loading…
Reference in New Issue