Permalink
Browse files

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
  • Loading branch information...
1 parent 8ed83b9 commit cf1217a742d1177fee38e4add2acc2f210a8ee7f @NZKoz NZKoz committed Nov 21, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionmailer/lib/action_mailer/test_case.rb
@@ -53,7 +53,7 @@ def encode(subject)
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

0 comments on commit cf1217a

Please sign in to comment.