mirror of
https://github.com/github/rails.git
synced 2026-01-29 00:08:15 -05:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user