class TestDefaultScope

Constants

APP
DefaultScopeRoutes

Public Instance Methods

app() click to toggle source
# File actionpack/test/dispatch/routing_test.rb, line 3988
def app
  APP
end
test_default_scope() click to toggle source
# File actionpack/test/dispatch/routing_test.rb, line 3994
def test_default_scope
  get "/posts"
  assert_equal "blog/posts#index", @response.body
end