mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
Refactor registrar address to smaller pieces
This commit is contained in:
parent
107767e241
commit
39ea06ab17
8 changed files with 57 additions and 22 deletions
|
@ -13,9 +13,8 @@ describe Registrar do
|
|||
it 'is not valid' do
|
||||
@registrar.valid?
|
||||
@registrar.errors.full_messages.should match_array([
|
||||
'Address is missing',
|
||||
'Contact e-mail is missing',
|
||||
'Country is missing',
|
||||
'Country code is missing',
|
||||
'Name is missing',
|
||||
'Reg no is missing'
|
||||
])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue