tech(deadspec): no more brouillon context on dossier validation

This commit is contained in:
mfo 2024-04-04 11:54:53 +02:00
parent aca67a2274
commit 6d84c38fca
No known key found for this signature in database
GPG key ID: 7CE3E1F5B794A8EC
2 changed files with 0 additions and 12 deletions

View file

@ -83,12 +83,6 @@ describe Champs::CnafChamp, type: :model do
is_expected.to be false
expect(champ.errors.full_messages).to eq(["Le champ « Numero allocataire » doit être composé au maximum de 7 chiffres"])
end
context 'and the validation_context is :brouillon' do
let(:validation_context) { :brouillon }
it { is_expected.to be true }
end
end
context 'when code_postal is invalid' do

View file

@ -83,12 +83,6 @@ describe Champs::DgfipChamp, type: :model do
is_expected.to be false
expect(champ.errors.full_messages).to eq(["Le champ « Numero fiscal » doit posséder 13 ou 14 caractères"])
end
context 'and the validation_context is :brouillon' do
let(:validation_context) { :brouillon }
it { is_expected.to be true }
end
end
context 'when reference_avis is invalid' do