diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-07-07 10:29:19 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-07-07 10:29:19 -0700 |
commit | 1e7f28c985b8df78058403f6ee5df42427ccc8c1 (patch) | |
tree | 31962acf9701cff3e7c9fd6b2b1139e8ee2211f4 /actionpack | |
parent | 09eeb3fc04aefaab8beee28f2be8d09b01f9541c (diff) | |
download | rails-1e7f28c985b8df78058403f6ee5df42427ccc8c1.tar.gz rails-1e7f28c985b8df78058403f6ee5df42427ccc8c1.tar.bz2 rails-1e7f28c985b8df78058403f6ee5df42427ccc8c1.zip |
remove the mounted_helpers respond_to check
It always responds to mounted_helpers now
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/testing/integration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |