aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/mail_service_test.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-12-09 11:39:45 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2008-12-09 11:39:45 -0800
commit781e29be0a18b6c0a4de42edef5e9157429a6686 (patch)
tree35aee5b6535bd6071e41d9fda086e3f144bba223 /actionmailer/test/mail_service_test.rb
parente8c4939fb3366472021c1af1331bfdfe5d7a5d75 (diff)
downloadrails-781e29be0a18b6c0a4de42edef5e9157429a6686.tar.gz
rails-781e29be0a18b6c0a4de42edef5e9157429a6686.tar.bz2
rails-781e29be0a18b6c0a4de42edef5e9157429a6686.zip
Fix tests broken by switch to Pathname
Diffstat (limited to 'actionmailer/test/mail_service_test.rb')
-rw-r--r--actionmailer/test/mail_service_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionmailer/test/mail_service_test.rb b/actionmailer/test/mail_service_test.rb
index e469302fe1..15a40552c9 100644
--- a/actionmailer/test/mail_service_test.rb
+++ b/actionmailer/test/mail_service_test.rb
@@ -967,13 +967,13 @@ end # uses_mocha
class InheritableTemplateRootTest < Test::Unit::TestCase
def test_attr
expected = "#{File.dirname(__FILE__)}/fixtures/path.with.dots"
- assert_equal expected, FunkyPathMailer.template_root
+ assert_equal expected, FunkyPathMailer.template_root.to_s
sub = Class.new(FunkyPathMailer)
sub.template_root = 'test/path'
- assert_equal 'test/path', sub.template_root
- assert_equal expected, FunkyPathMailer.template_root
+ assert_equal 'test/path', sub.template_root.to_s
+ assert_equal expected, FunkyPathMailer.template_root.to_s
end
end