class RescueTest

Private Instance Methods

with_test_routing() { || ... } click to toggle source
# File actionpack/test/controller/rescue_test.rb, line 354
def with_test_routing
  with_routing do |set|
    set.draw do
      get "foo", to: ::RescueTest::TestController.action(:foo)
      get "invalid", to: ::RescueTest::TestController.action(:invalid)
      get "b00m", to: ::RescueTest::TestController.action(:b00m)
    end
    yield
  end
end