diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2015-11-07 11:30:49 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2015-11-07 11:30:49 +0100 |
commit | 61e4738c5d9801900c6cc496f8b1ca671114c83c (patch) | |
tree | 2b5decc56816526d5b1595b8ac7bc0f4bc95f2ef | |
parent | 92bc8cdb0771bf6ffcfb31ef58dba529527b514c (diff) | |
parent | f8f0d13aeee0fbfebe59d335003fe51b21d3ff52 (diff) | |
download | rails-61e4738c5d9801900c6cc496f8b1ca671114c83c.tar.gz rails-61e4738c5d9801900c6cc496f8b1ca671114c83c.tar.bz2 rails-61e4738c5d9801900c6cc496f8b1ca671114c83c.zip |
Merge pull request #22207 from yui-knk/suppress_warnings
Suppress warning (warning about assigned but unused variable)
-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 |