diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-06-03 19:10:33 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-06-03 19:10:33 -0300 |
commit | 18d19bf2a418f4e310e7792db6d8600c25f8b1b3 (patch) | |
tree | 5bf7a7c61ba83de56feb524635d0213d35ebd2e0 /actionpack/test | |
parent | 5146f3af05b2784d0e6c2ea7bcf3f223289b75f0 (diff) | |
parent | 223e118a3c829a76ecf1d9d7e30c2cc488e203fb (diff) | |
download | rails-18d19bf2a418f4e310e7792db6d8600c25f8b1b3.tar.gz rails-18d19bf2a418f4e310e7792db6d8600c25f8b1b3.tar.bz2 rails-18d19bf2a418f4e310e7792db6d8600c25f8b1b3.zip |
Merge pull request #15349 from tgxworld/remove_duplicated_method_call
Remove duplicated HashWithIndifferentAccess#with_indifferent_access.
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/dispatch/request/url_encoded_params_parsing_test.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/actionpack/test/dispatch/request/url_encoded_params_parsing_test.rb b/actionpack/test/dispatch/request/url_encoded_params_parsing_test.rb index 9a77454f30..1de05cbf09 100644 --- a/actionpack/test/dispatch/request/url_encoded_params_parsing_test.rb +++ b/actionpack/test/dispatch/request/url_encoded_params_parsing_test.rb @@ -130,10 +130,7 @@ class UrlEncodedParamsParsingTest < ActionDispatch::IntegrationTest end test "ambiguous params returns a bad request" do - with_routing do |set| - set.draw do - post ':action', to: ::UrlEncodedParamsParsingTest::TestController - end + with_test_routing do post "/parse", "foo[]=bar&foo[4]=bar" assert_response :bad_request end |