Commit 2cab51bb authored by nmilojevic1's avatar nmilojevic1

Add spec to check for duplicate css includes

parent 0e8275a7
......@@ -2072,6 +2072,10 @@ RSpec.describe Notify do
)
end
end
it 'includes only one link to the highlighted_diff_email' do
expect(subject.html_part.body.raw_source).to include('assets/mailers/highlighted_diff_email').once
end
end
it 'contains review author name' 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