diff options
author | José Valim <jose.valim@gmail.com> | 2010-01-19 16:12:48 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-01-19 16:13:27 +0100 |
commit | fef5afa962e6c3551e8e27776e67a750799899e5 (patch) | |
tree | 5eccbc6cf1b777b4eeb6930d6013476917bab85a | |
parent | e8e8da5c85c105b7a4fec904f82c5e3c7fce507a (diff) | |
download | rails-fef5afa962e6c3551e8e27776e67a750799899e5.tar.gz rails-fef5afa962e6c3551e8e27776e67a750799899e5.tar.bz2 rails-fef5afa962e6c3551e8e27776e67a750799899e5.zip |
Get rid of RAILS_ROOT deprecation on AM::TestCase.
-rw-r--r-- | actionmailer/lib/action_mailer/test_case.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/action_mailer/test_case.rb b/actionmailer/lib/action_mailer/test_case.rb index 318a1e46d1..0ca4f5494e 100644 --- a/actionmailer/lib/action_mailer/test_case.rb +++ b/actionmailer/lib/action_mailer/test_case.rb @@ -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 |