aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-08-24 13:36:10 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-08-24 13:36:10 -0300
commit9e5ba3c86b71b4fc10d60d72328a6692acee237e (patch)
tree15a70c73af022eef3bf050ded0774cc7397551fb
parentc5abac2b317351f5edb9bfcb542e27e8f2cbc916 (diff)
parent7adef79e1413db36f25a363f96136a1df85ea1a2 (diff)
downloadrails-9e5ba3c86b71b4fc10d60d72328a6692acee237e.tar.gz
rails-9e5ba3c86b71b4fc10d60d72328a6692acee237e.tar.bz2
rails-9e5ba3c86b71b4fc10d60d72328a6692acee237e.zip
Merge pull request #21355 from akihiro17/remove-variables
Remove unused variables
-rw-r--r--actionpack/test/controller/live_stream_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/live_stream_test.rb b/actionpack/test/controller/live_stream_test.rb
index 6ba361f2f7..e9c19b7acf 100644
--- a/actionpack/test/controller/live_stream_test.rb
+++ b/actionpack/test/controller/live_stream_test.rb
@@ -315,7 +315,7 @@ module ActionController
t = Thread.new(@response) { |resp|
resp.await_commit
_, _, body = resp.to_a
- body.each do |part|
+ body.each do
@controller.latch.wait
body.close
break
@@ -339,7 +339,7 @@ module ActionController
t = Thread.new(@response) { |resp|
resp.await_commit
_, _, body = resp.to_a
- body.each do |part|
+ body.each do
body.close
break
end