diff options
author | yui-knk <spiketeika@gmail.com> | 2015-11-07 17:56:52 +0900 |
---|---|---|
committer | yui-knk <spiketeika@gmail.com> | 2015-11-07 17:56:52 +0900 |
commit | f8f0d13aeee0fbfebe59d335003fe51b21d3ff52 (patch) | |
tree | 2b5decc56816526d5b1595b8ac7bc0f4bc95f2ef /activerecord/test | |
parent | 92bc8cdb0771bf6ffcfb31ef58dba529527b514c (diff) | |
download | rails-f8f0d13aeee0fbfebe59d335003fe51b21d3ff52.tar.gz rails-f8f0d13aeee0fbfebe59d335003fe51b21d3ff52.tar.bz2 rails-f8f0d13aeee0fbfebe59d335003fe51b21d3ff52.zip |
Suppress warning (warning about assigned but unused variable)
These warings have been appeared from
https://github.com/rails/rails/commit/92bc8cdb0771bf6ffcfb31ef58dba529527b514c
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/connection_management_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/connection_management_test.rb b/activerecord/test/cases/connection_management_test.rb index cf8c4c688a..6f9ffed0f5 100644 --- a/activerecord/test/cases/connection_management_test.rb +++ b/activerecord/test/cases/connection_management_test.rb @@ -98,7 +98,7 @@ module ActiveRecord test "doesn't mutate the original response" do original_response = [200, {}, 'hi'] app = lambda { |_| original_response } - response_body = ConnectionManagement.new(app).call(@env)[2] + ConnectionManagement.new(app).call(@env)[2] assert_equal original_response.last, 'hi' end end |