提交 fef5afa9 编写于 作者: J José Valim

Get rid of RAILS_ROOT deprecation on AM::TestCase.

上级 e8e8da5c
......@@ -56,7 +56,7 @@ def encode(subject)
end
def read_fixture(action)
IO.readlines(File.join(RAILS_ROOT, 'test', 'fixtures', self.class.mailer_class.name.underscore, action))
IO.readlines(File.join(Rails.root, 'test', 'fixtures', self.class.mailer_class.name.underscore, action))
end
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册