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:
parent
e8e8da5c85
commit
fef5afa962
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue