Merged the address types

This commit is contained in:
Andres Keskküla 2014-09-25 15:27:08 +03:00
parent 7c8e7e22af
commit c4deed6a55
17 changed files with 90 additions and 103 deletions

View file

@ -1,5 +1,4 @@
Fabricator(:international_address) do
name Faker::Name.name
Fabricator(:address) do
city Faker::Address.city
street Faker::Address.street_name
street2 Faker::Address.street_name

View file

@ -1,10 +1,11 @@
Fabricator(:contact) do
name Faker::Name.name
phone '+372.12345678'
email Faker::Internet.email
ident '37605030299'
code { "sh#{Faker::Number.number(4)}" }
ident_type 'op'
auth_info 'ccds4324pok'
international_address
address
disclosure { Fabricate(:contact_disclosure) }
end