Permalink
Browse files

Fix tests broken by switch to Pathname

  • Loading branch information...
1 parent e8c4939 commit 781e29be0a18b6c0a4de42edef5e9157429a6686 @jeremy jeremy committed Dec 9, 2008
Showing with 3 additions and 3 deletions.
  1. +3 −3 actionmailer/test/mail_service_test.rb
@@ -967,13 +967,13 @@ def test_starttls_is_disabled_if_not_supported
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

0 comments on commit 781e29b

Please sign in to comment.