Introduce kind and reg_no contact's attributes

#266
This commit is contained in:
Artur Beljajev 2016-12-22 16:34:29 +02:00
parent 16ebdc6c90
commit e6069e06a9
3 changed files with 33 additions and 0 deletions

View file

@ -12,5 +12,14 @@ FactoryGirl.define do
ident_type 'priv'
ident_country_code 'EE'
registrar
factory :contact_private_entity do
ident_type 'priv'
end
factory :contact_legal_entity do
ident_type 'org'
ident '12345678' # valid reg no for .ee
end
end
end