Skip to content
  • Gannon McGibbon's avatar
    d46d5ce6
    Make with_routing test helper work for integration tests · d46d5ce6
    Gannon McGibbon authored
    Adds support for with_routing test helpers in ActionDispatch::IntegrationTest.
    Previously, this helper didn't work in an integration context because
    the rack app and integration session under test were not mutated.
    Because controller tests are integration tests by default, we should
    support test routes for these kinds of test cases as well.
    d46d5ce6
    Make with_routing test helper work for integration tests
    Gannon McGibbon authored
    Adds support for with_routing test helpers in ActionDispatch::IntegrationTest.
    Previously, this helper didn't work in an integration context because
    the rack app and integration session under test were not mutated.
    Because controller tests are integration tests by default, we should
    support test routes for these kinds of test cases as well.
Loading