diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2019-01-08 23:36:38 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2019-01-15 17:06:15 +0000 |
commit | def2d5565ea101f7d9538457a1c20ef87f638c3b (patch) | |
tree | 32848e0cd4fa4854d67d2b669c02b83a4bc9f1ce /spec/sidekiq | |
parent | dbecca8eb7320d86492ea2c0aede183b73119f2e (diff) | |
download | gitlab-ce-def2d5565ea101f7d9538457a1c20ef87f638c3b.tar.gz |
Adopt Fugit to replace Rufus::Scheduler
Diffstat (limited to 'spec/sidekiq')
-rw-r--r-- | spec/sidekiq/cron/job_gem_dependency_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/sidekiq/cron/job_gem_dependency_spec.rb b/spec/sidekiq/cron/job_gem_dependency_spec.rb index 2e30cf025b0..2e7de75fd08 100644 --- a/spec/sidekiq/cron/job_gem_dependency_spec.rb +++ b/spec/sidekiq/cron/job_gem_dependency_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' describe Sidekiq::Cron::Job do describe 'cron jobs' do - context 'when rufus-scheduler depends on ZoTime or EoTime' do + context 'when Fugit depends on ZoTime or EoTime' do before do described_class .create(name: 'TestCronWorker', @@ -10,7 +10,7 @@ describe Sidekiq::Cron::Job do class: Settings.cron_jobs[:pipeline_schedule_worker]['job_class']) end - it 'does not get "Rufus::Scheduler::ZoTime/EtOrbi::EoTime into an exact number"' do + it 'does not get any errors' do expect { described_class.all.first.should_enque?(Time.now) }.not_to raise_error end end |