Fix factory "country_state"
This commit is contained in:
parent
2024d3648c
commit
a7fb680f60
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Reference in a new issue