diff options
-rw-r--r-- | railties/test/application/queue_test.rb | 2 |
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 |