mirror of
https://github.com/plashchynski/crono.git
synced 2026-11-23 00:24:09 +01:00
Remove rails extension
This commit is contained in:
1 parent
20217b0c8a
commit
2fd061a523
5 files changed
+1
-41
No files matched your search
@@ -1,16 +0,0 @@
|
||||
require "spec_helper"
|
||||
|
||||
class TestJob < ActiveJob::Base
|
||||
def perform;end
|
||||
end
|
||||
|
||||
TestJob.extend(Periodicity::Extensions::ActiveJob)
|
||||
|
||||
describe Periodicity::Extensions::ActiveJob do
|
||||
describe "#perform_every" do
|
||||
it "should add job and period to schedule" do
|
||||
TestJob.perform_every(1.second)
|
||||
expect(Periodicity::Config.instance.schedule).to_not be_empty
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user