Methods
Attributes
| [R] | mapper | |
| [R] | routes |
Instance Public methods
setup()
Link
test_ast()
Link
test_clear()
Link
test_first_name_wins()
Link
test_partition_route()
Link
# File actionpack/test/journey/routes_test.rb, line 40 def test_partition_route mapper.get "/foo(/:id)", to: "foo#bar", as: 'aaron' assert_equal 1, @routes.anchored_routes.length assert_predicate @routes.custom_routes, :empty? mapper.get "/hello/:who", to: "foo#bar", as: 'bar', who: /\d/ assert_equal 1, @routes.custom_routes.length assert_equal 1, @routes.anchored_routes.length end
test_simulator_changes()
Link