chore: fix tests

This commit is contained in:
Vishnu Narayanan
2024-12-19 09:31:50 +05:30
parent 07c920f693
commit dd25751a19
2 changed files with 2 additions and 2 deletions
@@ -10,7 +10,7 @@ RSpec.describe Inboxes::FetchImapEmailInboxesJob do
it 'enqueues the job' do
expect { described_class.perform_later }.to have_enqueued_job(described_class)
.on_queue('scheduled_jobs')
.on_queue('one_min_mailer')
end
context 'when called' do
@@ -13,7 +13,7 @@ RSpec.describe Inboxes::FetchImapEmailsJob do
it 'enqueues the job' do
expect do
described_class.perform_later(imap_email_channel, 1)
end.to have_enqueued_job(described_class).on_queue('scheduled_jobs')
end.to have_enqueued_job(described_class).on_queue('one_min_mailer')
end
context 'when IMAP is disabled' do