This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
|
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :country_state do
|
|
initialize_with do
|
|
CountryState.find_or_initialize_by name: name
|
|
end
|
|
|
|
name { Faker::Address.unique.state }
|
|
end
|
|
end
|