class EngineControllerTests::BarControllerTestWithExplicitRouteSet

Public Instance Methods

setup() click to toggle source
# File actionpack/test/controller/test_case_test.rb, line 1002
def setup
  @routes = Engine.routes
end
test_engine_controller_route() click to toggle source
# File actionpack/test/controller/test_case_test.rb, line 1006
def test_engine_controller_route
  get :index
  assert_equal @response.body, "bar"
end