Module: EffectiveTestBotMailerHelper
- Defined in:
- app/helpers/effective_test_bot_mailer_helper.rb
Instance Method Summary collapse
-
#assign_test_bot_mailer_info ⇒ Object
This is included to ActionMailer::Base an after_filter And allows the assert_email assertion to work.
Instance Method Details
#assign_test_bot_mailer_info ⇒ Object
This is included to ActionMailer::Base an after_filter And allows the assert_email assertion to work
4 5 6 7 |
# File 'app/helpers/effective_test_bot_mailer_helper.rb', line 4 def assign_test_bot_mailer_info .instance_variable_set(:@mailer_class, self.class) .instance_variable_set(:@mailer_action, action_name) end |