Remove ChampPublic/ChampPrivate STI
This commit is contained in:
parent
d432ea7249
commit
52749713ab
16 changed files with 78 additions and 52 deletions
|
@ -355,13 +355,11 @@ describe NewGestionnaire::DossiersController, type: :controller do
|
|||
|
||||
describe "#update_annotations" do
|
||||
let(:champ_multiple_drop_down_list) do
|
||||
type_de_champ = TypeDeChamp.create(type_champ: 'multiple_drop_down_list', libelle: 'libelle')
|
||||
ChampPrivate.create(type_de_champ: type_de_champ)
|
||||
create(:type_de_champ_private, type_champ: 'multiple_drop_down_list', libelle: 'libelle').champ.create
|
||||
end
|
||||
|
||||
let(:champ_datetime) do
|
||||
type_de_champ = TypeDeChamp.create(type_champ: 'datetime', libelle: 'libelle')
|
||||
ChampPrivate.create(type_de_champ: type_de_champ)
|
||||
create(:type_de_champ_private, type_champ: 'datetime', libelle: 'libelle').champ.create
|
||||
end
|
||||
|
||||
let(:dossier) do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue