diff --git a/actionpack/lib/action_dispatch/testing/assertions/routing.rb b/actionpack/lib/action_dispatch/testing/assertions/routing.rb index 35288de822963231012bca39075ef534d66c4ccb..57e17fb3305f8f5f0b1006ebedb79fc9411a8b56 100644 --- a/actionpack/lib/action_dispatch/testing/assertions/routing.rb +++ b/actionpack/lib/action_dispatch/testing/assertions/routing.rb @@ -91,7 +91,6 @@ def assert_generates(expected_path, options, defaults = {}, extras = {}, message else expected_path = "/#{expected_path}" unless expected_path.start_with?("/") end - # Load routes.rb if it hasn't been loaded. options = options.clone generated_path, query_string_keys = @routes.generate_extras(options, defaults)