aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/parameters
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2016-05-23 18:36:13 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2016-10-10 00:02:52 -0300
commitc396a8c991ba1143b33e844118765f7a1ca22666 (patch)
treee5491aa5adaa8b1d938f452940858bf74c189174 /actionpack/test/controller/parameters
parent79a5ea9eadb4d43b62afacedc0706cbe88c54496 (diff)
downloadrails-c396a8c991ba1143b33e844118765f7a1ca22666.tar.gz
rails-c396a8c991ba1143b33e844118765f7a1ca22666.tar.bz2
rails-c396a8c991ba1143b33e844118765f7a1ca22666.zip
Remove deprecated comparing support with `ActionController::Parameters`
Diffstat (limited to 'actionpack/test/controller/parameters')
-rw-r--r--actionpack/test/controller/parameters/accessors_test.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/actionpack/test/controller/parameters/accessors_test.rb b/actionpack/test/controller/parameters/accessors_test.rb
index 8a522b2df8..2893eb7b91 100644
--- a/actionpack/test/controller/parameters/accessors_test.rb
+++ b/actionpack/test/controller/parameters/accessors_test.rb
@@ -131,14 +131,6 @@ class ParametersAccessorsTest < ActiveSupport::TestCase
assert_not @params[:person].values_at(:name).first.permitted?
end
- test "equality with a hash is deprecated" do
- hash1 = { foo: :bar }
- params1 = ActionController::Parameters.new(hash1)
- assert_deprecated("will be removed in Rails 5.1") do
- assert(params1 == hash1)
- end
- end
-
test "is equal to Parameters instance with same params" do
params1 = ActionController::Parameters.new(a: 1, b: 2)
params2 = ActionController::Parameters.new(a: 1, b: 2)