GeoArea on API expose fields per source type
This commit is contained in:
parent
5a8a4b393f
commit
fd490efb59
3 changed files with 61 additions and 21 deletions
|
@ -3,5 +3,11 @@ FactoryBot.define do
|
|||
source { GeoArea.sources.fetch(:cadastre) }
|
||||
numero { '42' }
|
||||
feuille { 'A11' }
|
||||
|
||||
trait :quartier_prioritaire do
|
||||
source { GeoArea.sources.fetch(:quartier_prioritaire) }
|
||||
nom { 'XYZ' }
|
||||
commune { 'Paris' }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue