diff --git a/src/spec/ruby/jruby/rack/integration_spec.rb b/src/spec/ruby/jruby/rack/integration_spec.rb index 77a0c3cb..96a1f009 100644 --- a/src/spec/ruby/jruby/rack/integration_spec.rb +++ b/src/spec/ruby/jruby/rack/integration_spec.rb @@ -423,7 +423,7 @@ def expect_to_have_monkey_patched_chunked should_eval_as_eql_to script, "1\nsecond" end - ENV_COPY = ENV.dup + ENV_COPY = ENV.to_h def initialize_rails(env = nil, servlet_context = @servlet_context) if ! servlet_context || servlet_context.is_a?(String)