Skip to content

Commit f6f59be

Browse files
committed
Remove deprecated comparing AC::Parameters with a hash assertion
https://buildkite.com/rails/rails/builds/85809#83bae90f-f7ca-4a23-aab9-c9b71d5b823f/1167-1177
1 parent a2e201f commit f6f59be

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

actionpack/test/controller/parameters/parameters_permit_test.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,6 @@ def walk_permitted(params)
444444
assert_instance_of Hash, params.to_hash
445445
assert_not_kind_of ActionController::Parameters, params.to_hash
446446
assert_equal({ "crab" => "Senjougahara Hitagi" }, params.to_hash)
447-
assert_equal({ "crab" => "Senjougahara Hitagi" }, params)
448447
ensure
449448
ActionController::Parameters.permit_all_parameters = false
450449
end

0 commit comments

Comments
 (0)