Skip to content

Commit a598f80

Browse files
committed
ENV can't be dup'ed anymore
1 parent 3359e75 commit a598f80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spec/ruby/jruby/rack/integration_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ def expect_to_have_monkey_patched_chunked
423423
should_eval_as_eql_to script, "1\nsecond"
424424
end
425425

426-
ENV_COPY = ENV.dup
426+
ENV_COPY = ENV.to_h
427427

428428
def initialize_rails(env = nil, servlet_context = @servlet_context)
429429
if ! servlet_context || servlet_context.is_a?(String)

0 commit comments

Comments
 (0)