Commits

José Valim committed c35fd3d Merge

Merge pull request #6102 from rodrei/remove_unused_vars

Removing unused local vars in Queue tests

Comments (0)

Files changed (1)

railties/test/application/queue_test.rb

 
     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
 
     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