mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +02:00
Add domain delete period method #2622
This commit is contained in:
parent
249262e224
commit
21829faf38
3 changed files with 52 additions and 11 deletions
|
@ -317,7 +317,7 @@ describe 'EPP Domain', epp: true do
|
|||
response = epp_plain_request(xml)
|
||||
response[:msg].should == 'Command completed successfully'
|
||||
response[:result_code].should == '1000'
|
||||
Domain.first.valid_to.should == 1.year.since.to_date
|
||||
Domain.first.valid_to.should be_within(5).of(1.year.since)
|
||||
end
|
||||
|
||||
it 'does not create a domain with invalid period' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue