fix specs

This commit is contained in:
Lisa Durand 2024-08-22 17:54:24 +02:00
parent b586f23009
commit 8722a10d63
No known key found for this signature in database
GPG key ID: 0DF91F2CA1E8B816
2 changed files with 1 additions and 12 deletions

View file

@ -60,13 +60,6 @@ describe Champ do
describe "associations" do
it { is_expected.to belong_to(:dossier) }
context 'when the parent dossier is discarded' do
let(:discarded_dossier) { create(:dossier, :discarded) }
subject(:champ) { discarded_dossier.champs_public.first }
it { expect(champ.reload.dossier).to eq discarded_dossier }
end
end
describe "normalization" do