mirror of https://github.com/rails/rails
Fix deprecation warning in ActionController::Parameters enumerator test
This commit is contained in:
parent
aba6008850
commit
20b77321ef
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue