diff options
Diffstat (limited to 'test/spec_deflater.rb')
-rw-r--r-- | test/spec_deflater.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/spec_deflater.rb b/test/spec_deflater.rb index a5e91285..fc159ff1 100644 --- a/test/spec_deflater.rb +++ b/test/spec_deflater.rb @@ -59,7 +59,7 @@ describe Rack::Deflater do # verify body unless options['skip_body_verify'] - body_text = '' + body_text = ''.dup body.each { |part| body_text << part } deflated_body = case expected_encoding |