models: require belong_to associations on geo_area
This commit is contained in:
parent
aff2713032
commit
afb1c33154
3 changed files with 7 additions and 5 deletions
|
@ -1,5 +1,7 @@
|
|||
FactoryBot.define do
|
||||
factory :geo_area do
|
||||
association :champ
|
||||
|
||||
trait :cadastre do
|
||||
source { GeoArea.sources.fetch(:cadastre) }
|
||||
numero { '42' }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue