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:
Michael Koziarski 2007-11-21 01:08:06 +00:00
parent 8ed83b9b1e
commit cf1217a742
1 changed files with 1 additions and 1 deletions

View File

@ -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