Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %p
- This product is worth:
- = @amount
- So buy it now!
- expect(ActionMailer::Base.deliveries.last.html_part.body).to include("This product is worth: €30 So buy it now")
- expect(ActionMailer::Base.deliveries.last.html_part.body.raw_source).to include("This product is worth: €30 So buy it now")
- expect(ActionMailer::Base.deliveries.last.html_part.body.raw_source).to have_content("This product is worth: €30 So buy it now")
- + This product is worth:
- + €30
- + So buy it now!
- expect(ActionMailer::Base.deliveries.last.html_part.body.raw_source).to have_content(
- %q|This product is worth:
- €30
- So buy it now|)
Add Comment
Please, Sign In to add comment