diff options
author | Eileen M. Uchitelle <eileencodes@gmail.com> | 2015-03-02 18:22:31 -0500 |
---|---|---|
committer | Eileen M. Uchitelle <eileencodes@gmail.com> | 2015-03-02 18:22:31 -0500 |
commit | f32b6e243a1b84312bd72618454f79c9878beb19 (patch) | |
tree | 737723fffa349936ed1f284bf33393850ff021a6 /actionpack/lib/action_dispatch/testing | |
parent | 12f2fc56aa7697311b3259d14f73db23e540aac1 (diff) | |
parent | 707a433870e9e06af688f85a4aedc64a90791a64 (diff) | |
download | rails-f32b6e243a1b84312bd72618454f79c9878beb19.tar.gz rails-f32b6e243a1b84312bd72618454f79c9878beb19.tar.bz2 rails-f32b6e243a1b84312bd72618454f79c9878beb19.zip |
Merge pull request #19147 from gsamokovarov/work-around-ruby-10695
Work around for upstream Ruby bug #10685
Diffstat (limited to 'actionpack/lib/action_dispatch/testing')
-rw-r--r-- | actionpack/lib/action_dispatch/testing/test_response.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/testing/test_response.rb b/actionpack/lib/action_dispatch/testing/test_response.rb index a9b88ac5fd..527784885c 100644 --- a/actionpack/lib/action_dispatch/testing/test_response.rb +++ b/actionpack/lib/action_dispatch/testing/test_response.rb @@ -7,7 +7,7 @@ module ActionDispatch # See Response for more information on controller response objects. class TestResponse < Response def self.from_response(response) - new response.status, response.headers, response.body, default_headers: nil + new response.status, response.headers, response.body, nil end # Was the response successful? |