Skip to content

Commit

Permalink
Fix test to use Sidekiq::Cron.configure for default cron_poll_interva…
Browse files Browse the repository at this point in the history
…l setup
  • Loading branch information
satyakampandya committed Oct 7, 2024
1 parent 4d50cb7 commit 08f4fb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/launcher_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 08f4fb9

Please sign in to comment.