diff options
author | Michael Koziarski <michael@koziarski.com> | 2007-11-21 01:08:06 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2007-11-21 01:08:06 +0000 |
commit | cf1217a742d1177fee38e4add2acc2f210a8ee7f (patch) | |
tree | 2718c40d325253d9afcd5aae99805fc4959ec003 /actionmailer | |
parent | 8ed83b9b1efbe94728f9b504ff58f06cc41f9fed (diff) | |
download | rails-cf1217a742d1177fee38e4add2acc2f210a8ee7f.tar.gz rails-cf1217a742d1177fee38e4add2acc2f210a8ee7f.tar.bz2 rails-cf1217a742d1177fee38e4add2acc2f210a8ee7f.zip |
mailer_class is a class method not an instance method. [josh] Closes #10041
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8173 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionmailer')
-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 5d0ddddce9..cc75b39280 100644 --- a/actionmailer/lib/action_mailer/test_case.rb +++ b/actionmailer/lib/action_mailer/test_case.rb @@ -53,7 +53,7 @@ module ActionMailer end def read_fixture(action) - IO.readlines(File.join(RAILS_ROOT, 'test', 'fixtures', mailer_class.name.underscore, action)) + IO.readlines(File.join(RAILS_ROOT, 'test', 'fixtures', self.class.mailer_class.name.underscore, action)) end end end |