From 1e7f28c985b8df78058403f6ee5df42427ccc8c1 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Mon, 7 Jul 2014 10:29:19 -0700 Subject: [PATCH] remove the mounted_helpers respond_to check It always responds to mounted_helpers now --- actionpack/lib/action_dispatch/testing/integration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actionpack/lib/action_dispatch/testing/integration.rb b/actionpack/lib/action_dispatch/testing/integration.rb index 477ea50b0c..08d4eee7fb 100644 --- a/actionpack/lib/action_dispatch/testing/integration.rb +++ b/actionpack/lib/action_dispatch/testing/integration.rb @@ -189,7 +189,7 @@ module ActionDispatch if app.respond_to?(:routes) singleton_class.class_eval do include app.routes.url_helpers - include app.routes.mounted_helpers if app.routes.respond_to?(:mounted_helpers) + include app.routes.mounted_helpers end end