GeoArea on API expose fields per source type

This commit is contained in:
Paul Chavard 2018-10-23 15:40:39 +02:00
parent 5a8a4b393f
commit fd490efb59
3 changed files with 61 additions and 21 deletions

View file

@ -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