Contact fabricator code made dynamic

This commit is contained in:
Andres Keskküla 2014-08-11 16:08:18 +03:00
parent 2f0b0c35d4
commit a01f03a6d5
5 changed files with 11 additions and 11 deletions

View file

@ -3,7 +3,7 @@ Fabricator(:contact) do
phone '+372.12345678'
email Faker::Internet.email
ident '37605030299'
code 'sh8913'
code "sh#{Faker::Number.number(4)}"
ident_type 'op'
address
end