Rename to Crono

This commit is contained in:
Dzmitry Plashchynski
2015-03-03 13:51:40 +02:00
parent 6b185c44ac
commit 3652e9525a
18 changed files with 45 additions and 45 deletions

View File

@@ -5,9 +5,9 @@ class TestJob < ActiveJob::Base
def perform;end
end
describe Periodicity::PerformerProxy do
describe Crono::PerformerProxy do
it "should add job and period to schedule" do
Periodicity.perform(TestJob).every(2.days, at: "15:30")
expect(Periodicity::Config.instance.schedule).to_not be_empty
Crono.perform(TestJob).every(2.days, at: "15:30")
expect(Crono::Config.instance.schedule).to_not be_empty
end
end