tech(deadspec): no more brouillon context on dossier validation
This commit is contained in:
parent
aca67a2274
commit
6d84c38fca
2 changed files with 0 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue