Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #6102 from rodrei/remove_unused_vars

Removing unused local vars in Queue tests
  • Loading branch information...
commit c35fd3d3064ed4150ab062243be3a1392fe6ffe6 2 parents 0ddec98 + 9ebfd63
@josevalim josevalim authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  railties/test/application/queue_test.rb
View
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
Please sign in to comment.
Something went wrong with that request. Please try again.