Skip to content

Commit

Permalink
remove the mounted_helpers respond_to check
Browse files Browse the repository at this point in the history
It always responds to mounted_helpers now
  • Loading branch information
tenderlove committed Jul 7, 2014
1 parent 09eeb3f commit 1e7f28c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_dispatch/testing/integration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1e7f28c

Please sign in to comment.