Skip to content

Commit

Permalink
Create Account Spec for recurring jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
LaRita Robinson committed May 31, 2024
1 parent 2580f60 commit 3d5d9dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/services/create_account_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3d5d9dd

Please sign in to comment.