refactor(champ): remove stable_id delegate to type_de_champ

This commit is contained in:
Paul Chavard 2024-04-02 15:11:09 +02:00
parent 7a80574afc
commit ee56a7da21
2 changed files with 1 additions and 2 deletions

View file

@ -50,7 +50,6 @@ class Champ < ApplicationRecord
:siret?,
:carte?,
:datetime?,
:stable_id,
:mandatory?,
:prefillable?,
:refresh_after_update?,

View file

@ -21,7 +21,7 @@ describe Champs::CarteChamp do
let(:feature_collection) {
{
type: 'FeatureCollection',
id: champ.type_de_champ.stable_id,
id: champ.stable_id,
bbox: champ.bounding_box,
features: features
}