Skip to content

Commit 82769fc

Browse files
committed
Fix mailer spec
1 parent 57ae961 commit 82769fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/mailers/abuse_mailer_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
end
2222

2323
it 'renders the body' do
24-
expect(mail.body.encoded).to match("somethings that's meaningful and nice")
24+
expect(mail.body.encoded).to match("<header><h1>Spam Report for Protip</h1></header><hr /><section><h3>hello world</h3><a href=\"http://coderwall.com/p/06tlva\">22</a><div>by Matthew Deiters</div><div>Reported by: Anonymous User</div></section><footer><h5>Reported from IP: </h5></footer>")
2525
end
2626
end
2727
end

0 commit comments

Comments
 (0)