fix(carte): no autosave on champ carte
This commit is contained in:
parent
ad9f072246
commit
6945b3f438
4 changed files with 23 additions and 7 deletions
|
@ -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) }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue