Namespace
Methods
Included Modules
- ActiveSupport::Testing::ConstantLookup
- ActionMailer::TestHelper
- Rails::Dom::Testing::Assertions::SelectorAssertions
- Rails::Dom::Testing::Assertions::DomAssertions
Instance Public methods
read_fixture(action) Link
Reads the fixture file for the given mailer.
This is useful when testing mailers by being able to write the body of an email inside a fixture. See the testing guide for a concrete example: guides.rubyonrails.org/testing.html#revenge-of-the-fixtures