Permalink
Browse files

remove the mounted_helpers respond_to check

It always responds to mounted_helpers now
  • Loading branch information...
1 parent 09eeb3f commit 1e7f28c985b8df78058403f6ee5df42427ccc8c1 @tenderlove tenderlove committed Jul 7, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/testing/integration.rb
@@ -189,7 +189,7 @@ def initialize(app)
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

0 comments on commit 1e7f28c

Please sign in to comment.