refactor(champ): remove stable_id delegate to type_de_champ
This commit is contained in:
parent
7a80574afc
commit
ee56a7da21
2 changed files with 1 additions and 2 deletions
|
@ -50,7 +50,6 @@ class Champ < ApplicationRecord
|
|||
:siret?,
|
||||
:carte?,
|
||||
:datetime?,
|
||||
:stable_id,
|
||||
:mandatory?,
|
||||
:prefillable?,
|
||||
:refresh_after_update?,
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue