diff --git a/test/unit/launcher_test.rb b/test/unit/launcher_test.rb index 5bcb2314..d8192560 100644 --- a/test/unit/launcher_test.rb +++ b/test/unit/launcher_test.rb @@ -3,7 +3,7 @@ describe 'Cron launcher' do describe 'initialization' do before do - Sidekiq::Cron.configuration.cron_poll_interval = 30 + Sidekiq::Cron.configure end it 'initializes poller with default poll interval when not configured' do