Namespace
Methods
- A
- T
-
- test_app_name_is_properly_generated_when_engine_is_mounted_in_resources,
- test_mounting_at_root_path,
- test_mounting_sets_script_name,
- test_mounting_with_shorthand,
- test_mounting_works_with_nested_script_name,
- test_mounting_works_with_scope,
- test_mounting_works_with_via,
- test_with_fake_engine_does_not_call_invalid_method
Constants
| Router | = | ActionDispatch::Routing::RouteSet.new |
| SprocketsApp | = | lambda { |env| [200, {"Content-Type" => "text/html"}, ["#{env["SCRIPT_NAME"]} -- #{env["PATH_INFO"]}"]] } |
| APP | = | RoutedRackApp.new Router |
Instance Public methods
app()
Link
test_app_name_is_properly_generated_when_engine_is_mounted_in_resources()
Link
# File actionpack/test/dispatch/mount_test.rb, line 49 def test_app_name_is_properly_generated_when_engine_is_mounted_in_resources assert Router.mounted_helpers.method_defined?(:user_fake_mounted_at_resource), "A mounted helper should be defined with a parent's prefix" assert Router.named_routes.key?(:user_fake_mounted_at_resource), "A named route should be defined with a parent's prefix" end
test_mounting_at_root_path()
Link
test_mounting_sets_script_name()
Link
test_mounting_with_shorthand()
Link
test_mounting_works_with_nested_script_name()
Link
test_mounting_works_with_scope()
Link
test_mounting_works_with_via()
Link