Permalink
Browse files

Merge pull request #6102 from rodrei/remove_unused_vars

Removing unused local vars in Queue tests
  • Loading branch information...
josevalim committed May 1, 2012
2 parents 0ddec98 + 9ebfd63 commit c35fd3d3064ed4150ab062243be3a1392fe6ffe6
Showing with 0 additions and 2 deletions.
  1. +0 −2 railties/test/application/queue_test.rb
@@ -32,7 +32,6 @@ def app_const
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 @@ def job.run
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

0 comments on commit c35fd3d

Please sign in to comment.