Added registrar code

This commit is contained in:
Priit Tark 2015-05-04 12:35:42 +03:00
parent 85efa5eb28
commit 8b22c58eec
7 changed files with 28 additions and 5 deletions

View file

@ -7,6 +7,7 @@ Fabricator(:registrar) do
zip 'Postal'
email 'info@registrar1.ee'
country_code 'EE'
code 'REG'
reference_no { sequence(:reference_no) { |i| "RF#{i}" } }
accounts(count: 1)
end

View file

@ -16,7 +16,8 @@ describe Registrar do
'Contact e-mail is missing',
'Country code is missing',
'Name is missing',
'Reg no is missing'
'Reg no is missing',
'Code is missing',
])
end