mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
parent
907d5cc402
commit
54df5f146b
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ RSpec.describe DomainExpirationEmailJob do
|
|||
|
||||
it 'sends email notification' do
|
||||
expect(DomainMailer).to receive(:expiration).with(domain: domain).and_return(message)
|
||||
expect(message).to receive(:deliver!)
|
||||
expect(message).to receive(:deliver)
|
||||
described_class.enqueue(domain_id: 1)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue