mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
Minor fixes
This commit is contained in:
parent
03da7e7bc3
commit
f860a8937f
3 changed files with 7 additions and 5 deletions
|
@ -43,13 +43,13 @@ describe Domain do
|
|||
|
||||
d = Domain.new
|
||||
expect(d.valid?).to be false
|
||||
|
||||
expect(d.errors.messages).to match_array({
|
||||
name: ['is missing'],
|
||||
period: ['is not a number'],
|
||||
owner_contact: ['Registrant is missing'],
|
||||
admin_contacts: ['Admin contacts count must be between 1 - infinity'],
|
||||
nameservers: ['Nameservers count must be between 1-13']
|
||||
nameservers: ['Nameservers count must be between 1-13'],
|
||||
registrar: ['Registrar is missing'],
|
||||
period: ['Period is not a number']
|
||||
})
|
||||
|
||||
sg = SettingGroup.domain_validation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue