mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
Added poll messages #2557
This commit is contained in:
parent
c637d3f856
commit
86900fb839
5 changed files with 23 additions and 0 deletions
|
@ -418,6 +418,12 @@ describe Domain do
|
|||
@domain.statuses = DomainStatus::OK # restore
|
||||
end
|
||||
|
||||
it 'should add poll message to registrar' do
|
||||
domain = Fabricate(:domain)
|
||||
domain.poll_message!(:poll_pending_update_confirmed_by_registrant)
|
||||
domain.registrar.messages.first.body.should == 'Registrant confirmed domain update'
|
||||
end
|
||||
|
||||
context 'about registrant update confirm' do
|
||||
before :all do
|
||||
@domain.registrant_verification_token = 123
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue