require'spec_helper'describeSidekiq::Cron::Jobdodescribe'cron jobs'docontext'when rufus-scheduler depends on ZoTime or EoTime'dobeforedodescribed_class.create(name: 'TestCronWorker',cron: Settings.cron_jobs[:pipeline_schedule_worker]['cron'],class: Settings.cron_jobs[:pipeline_schedule_worker]['job_class'])endit'does not get "Rufus::Scheduler::ZoTime/EtOrbi::EoTime into an exact number"'doexpect{described_class.all.first.should_enque?(Time.now)}.not_toraise_errorendendendend