1
0
Fork 0
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:
Tobias Svensson 2013-03-11 11:34:52 +00:00
parent 14b12ed6df
commit d4b7761dde
2 changed files with 5 additions and 5 deletions

View file

@ -0,0 +1,5 @@
class LastAndScheduledTicksWorker
def perform(last_tick, scheduled_tick)
end
end

View file

@ -78,11 +78,6 @@ class TestClock < Sidetiq::TestCase
clock.tick clock.tick
end end
class LastAndScheduledTicksWorker
def perform last_tick, scheduled_tick
end
end
def test_enqueues_jobs_with_last_run_timestamp_and_next_run_timestamp def test_enqueues_jobs_with_last_run_timestamp_and_next_run_timestamp
schedule = Sidetiq::Schedule.new(Sidetiq::Clock::START_TIME) schedule = Sidetiq::Schedule.new(Sidetiq::Clock::START_TIME)
schedule.hourly schedule.hourly