mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 00:12:03 +02:00
Improve readability
This commit is contained in:
parent
ffe11685ff
commit
eb1ee426ca
14 changed files with 48 additions and 47 deletions
|
@ -7,7 +7,7 @@ RSpec.describe RegistrantChange do
|
|||
let(:message) { instance_spy(ActionMailer::MessageDelivery) }
|
||||
|
||||
before :example do
|
||||
allow(RegistrantChangeMailer).to receive(:confirmed)
|
||||
allow(RegistrantChangeMailer).to receive(:accepted)
|
||||
.with(domain: domain, old_registrant: old_registrant)
|
||||
.and_return(message)
|
||||
described_class.new(domain: domain, old_registrant: old_registrant).confirm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue