diff options
author | Pat Allan <pat@freelancing-gods.com> | 2017-07-22 22:45:53 +1000 |
---|---|---|
committer | Pat Allan <pat@freelancing-gods.com> | 2017-08-14 19:00:24 +0200 |
commit | d435c92721a1fbecf0bc6d1b6c5cf95d228c851a (patch) | |
tree | c08015501962c1f6c513e526ed8959880a9e921b /railties/test/isolation | |
parent | 5949cc05d395f5e1435d04d4adee7b26f13a517d (diff) | |
download | rails-d435c92721a1fbecf0bc6d1b6c5cf95d228c851a.tar.gz rails-d435c92721a1fbecf0bc6d1b6c5cf95d228c851a.tar.bz2 rails-d435c92721a1fbecf0bc6d1b6c5cf95d228c851a.zip |
Railties updates for frozen string literals.
Diffstat (limited to 'railties/test/isolation')
-rw-r--r-- | railties/test/isolation/abstract_unit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/isolation/abstract_unit.rb b/railties/test/isolation/abstract_unit.rb index 7fa523f58d..8bc3a15ccb 100644 --- a/railties/test/isolation/abstract_unit.rb +++ b/railties/test/isolation/abstract_unit.rb @@ -66,7 +66,7 @@ module TestHelpers end def extract_body(response) - "".tap do |body| + "".dup.tap do |body| response[2].each { |chunk| body << chunk } end end |