diff options
Diffstat (limited to 'activejob/test')
-rw-r--r-- | activejob/test/cases/queuing_test.rb | 2 | ||||
-rw-r--r-- | activejob/test/jobs/callback_job.rb | 1 | ||||
-rw-r--r-- | activejob/test/support/integration/adapters/sneakers.rb | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/activejob/test/cases/queuing_test.rb b/activejob/test/cases/queuing_test.rb index 9690e0cc79..a3ecb15c31 100644 --- a/activejob/test/cases/queuing_test.rb +++ b/activejob/test/cases/queuing_test.rb @@ -2,7 +2,6 @@ require "helper" require "jobs/hello_job" require "active_support/core_ext/numeric/time" - class QueuingTest < ActiveSupport::TestCase setup do JobBuffer.clear @@ -32,7 +31,6 @@ class QueuingTest < ActiveSupport::TestCase assert_equal [ "Jamie" ], job.arguments end - test "job returned by perform_at has the timestamp available" do begin job = HelloJob.set(wait_until: Time.utc(2014, 1, 1)).perform_later diff --git a/activejob/test/jobs/callback_job.rb b/activejob/test/jobs/callback_job.rb index 7f9fc1c74a..ca2a8e031a 100644 --- a/activejob/test/jobs/callback_job.rb +++ b/activejob/test/jobs/callback_job.rb @@ -17,7 +17,6 @@ class CallbackJob < ActiveJob::Base job.history << "CallbackJob ran around_enqueue_stop" end - def perform(person = "david") # NOTHING! end diff --git a/activejob/test/support/integration/adapters/sneakers.rb b/activejob/test/support/integration/adapters/sneakers.rb index b3639572fb..08743c1f05 100644 --- a/activejob/test/support/integration/adapters/sneakers.rb +++ b/activejob/test/support/integration/adapters/sneakers.rb @@ -12,7 +12,6 @@ module Sneakers end end - module SneakersJobsManager def setup ActiveJob::Base.queue_adapter = :sneakers |