Skip to content

Commit

Permalink
Update create_account_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Shana Moore committed Jan 24, 2025
1 parent e3e6d8c commit decf3cd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions spec/services/create_account_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,11 @@
end

it "only enqueues embargo and lease jobs" do
# These jobs should always run regardless of settings
[EmbargoAutoExpiryJob, LeaseAutoExpiryJob].each do |klass|
expect(account).to receive(:find_job).with(klass).and_return(false)
expect(klass).to receive(:perform_later)
end

# These jobs should not run when settings are disabled
[
BatchEmailNotificationJob,
DepositorEmailNotificationJob,
Expand Down

0 comments on commit decf3cd

Please sign in to comment.