Skip to content
  • Ricardo Díaz's avatar
    64a9759a
    Include test helpers when ActionDispatch::IntegrationTest is loaded · 64a9759a
    Ricardo Díaz authored
    As @dhh brings up, the point of `ActionDispatch::IntegrationTest` is to
    allow users to test the integration of all the pieces called by a
    controller. Asserting about the emails and jobs queued is part of that
    task.
    
    This commit includes the `ActionMailer::TestHelper` and
    `ActiveJob::TestHelper` modules when the ActionMailer and ActiveJob
    railties are initialized respectively.
    64a9759a
    Include test helpers when ActionDispatch::IntegrationTest is loaded
    Ricardo Díaz authored
    As @dhh brings up, the point of `ActionDispatch::IntegrationTest` is to
    allow users to test the integration of all the pieces called by a
    controller. Asserting about the emails and jobs queued is part of that
    task.
    
    This commit includes the `ActionMailer::TestHelper` and
    `ActiveJob::TestHelper` modules when the ActionMailer and ActiveJob
    railties are initialized respectively.
Loading