blob: c5c717030874cdf2c856be351e2fc7fbf9881270 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
FactoryBot.define do
factory :address, class: 'Address' do
number { Faker::Address.building_number.to_i }
street { Faker::Address.street_name }
zip_code { Faker::Address.zip_code }
country { ISO3166::Country.codes.sample }
city { Faker::Address.city }
end
end
|