Fix deprecation warning in ActionController::Parameters enumerator test

This commit is contained in:
Gannon McGibbon 2022-03-31 18:14:55 -04:00
parent aba6008850
commit 20b77321ef
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class ParametersAccessorsTest < ActiveSupport::TestCase
test "each without a block returns an enumerator" do
assert_kind_of Enumerator, @params.each
assert_equal @params, @params.each.to_h
assert_equal @params, ActionController::Parameters.new(@params.each.to_h)
end
test "each_pair carries permitted status" do