Permalink
Browse files

Removing unused local vars in Queue tests

  • Loading branch information...
1 parent b2a24a1 commit 9ebfd634a71f7830e994f122bf09bdc6fe0ea17a @rodrei rodrei committed May 1, 2012
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 9ebfd63

Please sign in to comment.