From 3d5d9dd9efe177ff4363f47d8254acbd114643f9 Mon Sep 17 00:00:00 2001 From: LaRita Robinson Date: Fri, 31 May 2024 16:18:44 -0400 Subject: [PATCH] Create Account Spec for recurring jobs --- spec/services/create_account_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/services/create_account_spec.rb b/spec/services/create_account_spec.rb index b6191446f..bf0a19051 100644 --- a/spec/services/create_account_spec.rb +++ b/spec/services/create_account_spec.rb @@ -113,10 +113,11 @@ end describe '#schedule_recurring_jobs' do - it "Enqueues Embargo and Lease Expiry jobs" do + it "Enqueues Recurring jobs" do expect(EmbargoAutoExpiryJob).to receive(:perform_later).with(account) expect(LeaseAutoExpiryJob).to receive(:perform_later).with(account) expect(BatchEmailNotificationJob).to receive(:perform_later).with(account) + expect(DepositorEmailNotificationJob).to receive(:perform_later).with(account) subject.schedule_recurring_jobs end end