Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8173

Show
Ignore:
Timestamp:
11/21/07 01:08:06 (1 year ago)
Author:
nzkoz
Message:

mailer_class is a class method not an instance method. [josh] Closes #10041

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionmailer/lib/action_mailer/test_case.rb

    r8022 r8173  
    5454 
    5555      def read_fixture(action) 
    56         IO.readlines(File.join(RAILS_ROOT, 'test', 'fixtures', mailer_class.name.underscore, action)) 
     56        IO.readlines(File.join(RAILS_ROOT, 'test', 'fixtures', self.class.mailer_class.name.underscore, action)) 
    5757      end 
    5858  end