Module: ActionMailer::TestCase::Behavior
| Relationships & Source Files | |
| Namespace Children | |
| Modules: | |
| Extension / Inclusion / Inheritance Descendants | |
| Included In: | |
| Super Chains via Extension / Inclusion / Inheritance | |
| Class Chain: 
          self,
          ::ActiveSupport::Concern
         | |
| Instance Chain: 
          self,
          Rails::Dom::Testing::Assertions::DomAssertions,
          Rails::Dom::Testing::Assertions::SelectorAssertions,
          ::ActionMailer::TestHelper,
          ::ActiveSupport::Testing::ConstantLookup
         | |
| Defined in: | actionmailer/lib/action_mailer/test_case.rb | 
Class Method Summary
::ActiveSupport::Concern - Extended
Instance Method Summary
::ActionMailer::TestHelper - Included
| #assert_emails | Asserts that the number of emails sent matches the given number. | 
| #assert_no_emails | Assert that no emails have been sent. | 
DSL Calls
included
[ GitHub ]22 23 24 25 26 27
# File 'actionmailer/lib/action_mailer/test_case.rb', line 22
included do class_attribute :_mailer_class setup :initialize_test_deliveries setup :set_expected_mail teardown :restore_test_deliveries end