Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove the mounted_helpers respond_to check

It always responds to mounted_helpers now
  • Loading branch information...
commit 1e7f28c985b8df78058403f6ee5df42427ccc8c1 1 parent 09eeb3f
@tenderlove tenderlove authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_dispatch/testing/integration.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.