Whois body updated later with delayed job

This commit is contained in:
Priit Tark 2015-03-31 18:02:02 +03:00
parent ff709e8d7b
commit 7ff09c75e3
2 changed files with 24 additions and 23 deletions

View file

@ -74,8 +74,8 @@ describe Domain do
domain.errors.full_messages.should match_array(["Admin domain contacts is invalid"])
end
it 'should have whois_body' do
@domain.whois_body.present?.should == true
it 'should not have whois_body present by default' do
@domain.whois_body.present?.should == false
end
context 'with versioning' do