1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #22207 from yui-knk/suppress_warnings

Suppress warning (warning about assigned but unused variable)
This commit is contained in:
Kasper Timm Hansen 2015-11-07 11:30:49 +01:00
commit 61e4738c5d

View file

@ -98,7 +98,7 @@ module ActiveRecord
test "doesn't mutate the original response" do test "doesn't mutate the original response" do
original_response = [200, {}, 'hi'] original_response = [200, {}, 'hi']
app = lambda { |_| original_response } app = lambda { |_| original_response }
response_body = ConnectionManagement.new(app).call(@env)[2] ConnectionManagement.new(app).call(@env)[2]
assert_equal original_response.last, 'hi' assert_equal original_response.last, 'hi'
end end
end end