diff options
author | Mikel Lindsaar <raasdnil@gmail.com> | 2009-12-27 20:56:16 +1100 |
---|---|---|
committer | Mikel Lindsaar <raasdnil@gmail.com> | 2009-12-27 20:56:16 +1100 |
commit | 331d375cc332e9e8a30a7f9e745414769b780c54 (patch) | |
tree | ab4ec042bd652bb40eafa92aa73c6eb9e7335032 /actionmailer/test/quoting_test.rb | |
parent | d9aadb5b2d79f3f647d5fddd1dae0910d7b83444 (diff) | |
download | rails-331d375cc332e9e8a30a7f9e745414769b780c54.tar.gz rails-331d375cc332e9e8a30a7f9e745414769b780c54.tar.bz2 rails-331d375cc332e9e8a30a7f9e745414769b780c54.zip |
Changing body to use :to_s instead of :decoded... better use case
Diffstat (limited to 'actionmailer/test/quoting_test.rb')
-rw-r--r-- | actionmailer/test/quoting_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/test/quoting_test.rb b/actionmailer/test/quoting_test.rb index a5deecf263..80e2a3482a 100644 --- a/actionmailer/test/quoting_test.rb +++ b/actionmailer/test/quoting_test.rb @@ -72,7 +72,7 @@ class QuotingTest < Test::Unit::TestCase mail = Mail.new(IO.read("#{File.dirname(__FILE__)}/fixtures/raw_email_quoted_with_0d0a")) # CHANGED: subject returns an object now # assert_match %r{Elapsed time}, mail.body - assert_match %r{Elapsed time}, mail.body.decoded + assert_match %r{Elapsed time}, mail.body.to_s end def test_email_with_partially_quoted_subject |