In the “shipped” test, particularly in the last assertion, if I use mail.body.to_s
I get the following error:
Minitest::Assertion: Expected /
<td[^>]*>1<\/td>\s*
<td>×<\/td>\s*
<td[^>]*>\s*The\sPragmatic\sProgrammer\s*<\/td>
/x to match "".
test/mailers/order_mailer_test.rb:17:in 'block in <class:OrderMailerTest>'
whereas if I use mail.body.encoded
I get no errors.