From 6bf9b69bdeaba794d6ec55a6501723d24e7f98e0 Mon Sep 17 00:00:00 2001 From: thedarkone Date: Fri, 20 Feb 2009 18:14:18 +0100 Subject: Fix a failing mailer test. --- actionmailer/test/mail_service_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionmailer') diff --git a/actionmailer/test/mail_service_test.rb b/actionmailer/test/mail_service_test.rb index 0934d3537f..1e04531753 100644 --- a/actionmailer/test/mail_service_test.rb +++ b/actionmailer/test/mail_service_test.rb @@ -975,7 +975,7 @@ end class InheritableTemplateRootTest < Test::Unit::TestCase def test_attr - expected = ("#{File.dirname(__FILE__)}/fixtures/path.with.dots").sub(/\.\//, '') + expected = "#{File.dirname(__FILE__)}/fixtures/path.with.dots" assert_equal expected, FunkyPathMailer.template_root.to_s sub = Class.new(FunkyPathMailer) -- cgit v1.2.3