1
0
Fork 0

Fix factory "country_state"

This commit is contained in:
Alex Kotov 2018-12-15 09:32:44 +05:00
parent 2024d3648c
commit a7fb680f60
No known key found for this signature in database
GPG key ID: 4E831250F47DE154

View file

@ -6,6 +6,6 @@ FactoryBot.define do
CountryState.find_or_initialize_by name: name
end
name { Faker::Address.state }
name { Faker::Address.unique.state }
end
end