1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Get rid of RAILS_ROOT deprecation on AM::TestCase.

This commit is contained in:
José Valim 2010-01-19 16:12:48 +01:00
parent e8e8da5c85
commit fef5afa962

View file

@ -56,7 +56,7 @@ module ActionMailer
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