fix(carte): no autosave on champ carte

This commit is contained in:
Paul Chavard 2023-06-06 15:54:03 +02:00
parent ad9f072246
commit 6945b3f438
4 changed files with 23 additions and 7 deletions

View file

@ -21,6 +21,12 @@ describe EditableChamp::EditableChampComponent, type: :component do
it { expect(subject).to eq(nil) }
end
context 'when a carte champ' do
let(:champ) { create(:champ_carte, dossier: dossier) }
it { expect(subject).to eq(nil) }
end
context 'when a private champ' do
let(:champ) { create(:champ, dossier: dossier, private: true) }