aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2017-09-01 19:15:04 +0900
committerAkira Matsuda <ronnie@dio.jp>2017-09-01 19:15:10 +0900
commit5a41e6b02547ef14882932cfe1010360ac1d5ab3 (patch)
treef30b007c28709e44d8857609190eb885624b5019 /actionpack
parentf213e926892020f9ab6c8974612c59e2ba959253 (diff)
downloadrails-5a41e6b02547ef14882932cfe1010360ac1d5ab3.tar.gz
rails-5a41e6b02547ef14882932cfe1010360ac1d5ab3.tar.bz2
rails-5a41e6b02547ef14882932cfe1010360ac1d5ab3.zip
Unused variables
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/test/dispatch/response_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/dispatch/response_test.rb b/actionpack/test/dispatch/response_test.rb
index a14083c6a2..c4ee3add2a 100644
--- a/actionpack/test/dispatch/response_test.rb
+++ b/actionpack/test/dispatch/response_test.rb
@@ -378,10 +378,10 @@ class ResponseTest < ActiveSupport::TestCase
app = lambda { |env| @response.to_a }
env = Rack::MockRequest.env_for("/")
- status, headers, body = app.call(env)
+ _status, headers, _body = app.call(env)
assert_nil headers["Content-Length"]
- status, headers, body = Rack::ContentLength.new(app).call(env)
+ _status, headers, _body = Rack::ContentLength.new(app).call(env)
assert_equal "5", headers["Content-Length"]
end
end