diff --git a/actionpack/test/controller/parameters/accessors_test.rb b/actionpack/test/controller/parameters/accessors_test.rb index a54e9b40066..fc57eeb3097 100644 --- a/actionpack/test/controller/parameters/accessors_test.rb +++ b/actionpack/test/controller/parameters/accessors_test.rb @@ -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