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:
commit
61e4738c5d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue