aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2012-05-01 13:09:03 -0700
committerJosé Valim <jose.valim@gmail.com>2012-05-01 13:09:03 -0700
commitc35fd3d3064ed4150ab062243be3a1392fe6ffe6 (patch)
treebfd7ea907c16b3ec3d507439319f9836084ce179
parent0ddec98b950ad73028c6c11f7d0b7a19e96687d7 (diff)
parent9ebfd634a71f7830e994f122bf09bdc6fe0ea17a (diff)
downloadrails-c35fd3d3064ed4150ab062243be3a1392fe6ffe6.tar.gz
rails-c35fd3d3064ed4150ab062243be3a1392fe6ffe6.tar.bz2
rails-c35fd3d3064ed4150ab062243be3a1392fe6ffe6.zip
Merge pull request #6102 from rodrei/remove_unused_vars
Removing unused local vars in Queue tests
-rw-r--r--railties/test/application/queue_test.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/railties/test/application/queue_test.rb b/railties/test/application/queue_test.rb
index ec809d7cc1..71b0c2bc38 100644
--- a/railties/test/application/queue_test.rb
+++ b/railties/test/application/queue_test.rb
@@ -32,7 +32,6 @@ module ApplicationTests
test "in development mode, an enqueued job will be processed in a separate thread" do
app("development")
- current = Thread.current
job = Struct.new(:origin, :target).new(Thread.current)
def job.run
@@ -48,7 +47,6 @@ module ApplicationTests
test "in test mode, explicitly draining the queue will process it in a separate thread" do
app("test")
- current = Thread.current
job = Struct.new(:origin, :target).new(Thread.current)
def job.run