Add reserved boolean to domain #2565

This commit is contained in:
Martin Lensment 2015-07-09 12:55:41 +03:00
parent 873070cb96
commit 55b746a428
5 changed files with 17 additions and 21 deletions

View file

@ -144,6 +144,7 @@ describe 'EPP Domain', epp: true do
response[:result_code].should == '1000'
d = Domain.last
d.legal_documents.count.should == 1
d.reserved.should == false
end
# it 'creates ria.ee with valid ds record' do
@ -244,6 +245,7 @@ describe 'EPP Domain', epp: true do
d = Domain.last
d.statuses.should match_array(['ok'])
d.auth_info.should_not == 'abc' # should generate entirely new auth info after domain create
d.reserved.should == true
end
it 'does not create blocked domain' do