diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2016-08-10 09:57:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-10 09:57:07 -0700 |
commit | 79e27b909ea983a4bec6d246ad23e77c5a2e47f4 (patch) | |
tree | 23160166668ec587f049ad9cb2a4c35f331e9e89 /actionpack/lib/action_dispatch/testing | |
parent | dfb246118afbc6b59f6517eaed00208aa6c7e4b5 (diff) | |
parent | 496d744fa31665de810b404de968ba86ed87c319 (diff) | |
download | rails-79e27b909ea983a4bec6d246ad23e77c5a2e47f4.tar.gz rails-79e27b909ea983a4bec6d246ad23e77c5a2e47f4.tar.bz2 rails-79e27b909ea983a4bec6d246ad23e77c5a2e47f4.zip |
Merge pull request #26092 from kerrizor/kerrizor/force-param-encoding
Allow specifying encoding of parameters by action
Diffstat (limited to 'actionpack/lib/action_dispatch/testing')
-rw-r--r-- | actionpack/lib/action_dispatch/testing/assertions/routing.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/testing/assertions/routing.rb b/actionpack/lib/action_dispatch/testing/assertions/routing.rb index cba67b2839..2ea4a6c130 100644 --- a/actionpack/lib/action_dispatch/testing/assertions/routing.rb +++ b/actionpack/lib/action_dispatch/testing/assertions/routing.rb @@ -184,7 +184,7 @@ module ActionDispatch end # Assume given controller - request = ActionController::TestRequest.create + request = ActionController::TestRequest.create @controller.class if path =~ %r{://} fail_on(URI::InvalidURIError, msg) do |