diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-04-11 20:02:51 -0400 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-04-18 17:33:23 -0400 |
commit | 1396b05e5a36859a9730e7a4a56abba02c41c0d6 (patch) | |
tree | 1b603edd5bd2279a39a50fcbcd6f8f4b8c3dcfcd /actionpack/test/controller | |
parent | 48c5139ae31328532e22b1726a67cfa40dbd680d (diff) | |
download | rails-1396b05e5a36859a9730e7a4a56abba02c41c0d6.tar.gz rails-1396b05e5a36859a9730e7a4a56abba02c41c0d6.tar.bz2 rails-1396b05e5a36859a9730e7a4a56abba02c41c0d6.zip |
Test the correct object
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/parameters/parameters_permit_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/parameters/parameters_permit_test.rb b/actionpack/test/controller/parameters/parameters_permit_test.rb index 3e067314d6..e5bb553855 100644 --- a/actionpack/test/controller/parameters/parameters_permit_test.rb +++ b/actionpack/test/controller/parameters/parameters_permit_test.rb @@ -396,7 +396,7 @@ class ParametersPermitTest < ActiveSupport::TestCase params = ActionController::Parameters.new(crab: "Senjougahara Hitagi") assert params.to_h.is_a? ActiveSupport::HashWithIndifferentAccess - assert_not @params.to_h.is_a? ActionController::Parameters + assert_not params.to_h.is_a? ActionController::Parameters assert_equal({ "crab" => "Senjougahara Hitagi" }, params.to_h) ensure ActionController::Parameters.permit_all_parameters = false |