mirror of
https://github.com/internetee/registry.git
synced 2025-05-21 19:59:38 +02:00
Added whois_body
This commit is contained in:
parent
eb2d7481c7
commit
39fad4515c
10 changed files with 73 additions and 20 deletions
|
@ -33,6 +33,11 @@ describe Domain do
|
|||
it 'should not have any versions' do
|
||||
@domain.versions.should == []
|
||||
end
|
||||
|
||||
it 'should not have whois_body' do
|
||||
@domain.whois_body.should == nil
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
context 'with valid attributes' do
|
||||
|
@ -51,6 +56,10 @@ describe Domain do
|
|||
@domain.errors.full_messages.should match_array([])
|
||||
end
|
||||
|
||||
it 'should have whois_body' do
|
||||
@domain.whois_body.present?.should == true
|
||||
end
|
||||
|
||||
context 'with versioning' do
|
||||
it 'should not have one version' do
|
||||
with_versioning do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue