mirror of https://github.com/rails/rails
Fix a failing mailer test.
This commit is contained in:
parent
69c049f5ab
commit
6bf9b69bde
|
@ -975,7 +975,7 @@ end
|
||||||
|
|
||||||
class InheritableTemplateRootTest < Test::Unit::TestCase
|
class InheritableTemplateRootTest < Test::Unit::TestCase
|
||||||
def test_attr
|
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
|
assert_equal expected, FunkyPathMailer.template_root.to_s
|
||||||
|
|
||||||
sub = Class.new(FunkyPathMailer)
|
sub = Class.new(FunkyPathMailer)
|
||||||
|
|
Loading…
Reference in New Issue