refactor(export): improuve specs

This commit is contained in:
Paul Chavard 2024-04-23 10:14:19 +02:00
parent 39364961ab
commit 244dcfcc23
13 changed files with 268 additions and 265 deletions

View file

@ -1,5 +1,5 @@
describe Champs::AddressChamp do
let(:champ) { Champs::AddressChamp.new(value: value, data: data, type_de_champ: create(:type_de_champ_address)) }
let(:champ) { build(:champ_address, value:, data:) }
let(:value) { '' }
let(:data) { nil }