Domain creating refactor

This commit is contained in:
Martin Lensment 2014-08-11 16:41:31 +03:00
parent a01f03a6d5
commit b26345dde4
8 changed files with 103 additions and 86 deletions

View file

@ -41,7 +41,9 @@ describe Domain do
expect(d.errors.messages).to match_array({
name: ['is missing'],
period: ['is not a number'],
owner_contact: ["Registrant is missing"]
owner_contact: ["Registrant is missing"],
admin_contacts: ["Admin contact is missing"],
nameservers: ["Nameservers count must be between 1-13"]
})
end