mirror of
https://github.com/endofunky/sidetiq.git
synced 2022-11-09 13:53:30 -05:00
Move LastAndScheduledTicksWorker into fixtures.
This commit is contained in:
parent
14b12ed6df
commit
d4b7761dde
2 changed files with 5 additions and 5 deletions
5
test/fixtures/last_and_scheduled_ticks_worker.rb
vendored
Normal file
5
test/fixtures/last_and_scheduled_ticks_worker.rb
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
class LastAndScheduledTicksWorker
|
||||
def perform(last_tick, scheduled_tick)
|
||||
end
|
||||
end
|
||||
|
|
@ -78,11 +78,6 @@ class TestClock < Sidetiq::TestCase
|
|||
clock.tick
|
||||
end
|
||||
|
||||
class LastAndScheduledTicksWorker
|
||||
def perform last_tick, scheduled_tick
|
||||
end
|
||||
end
|
||||
|
||||
def test_enqueues_jobs_with_last_run_timestamp_and_next_run_timestamp
|
||||
schedule = Sidetiq::Schedule.new(Sidetiq::Clock::START_TIME)
|
||||
schedule.hourly
|
||||
|
|
Loading…
Reference in a new issue