2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2020-03-26 20:25:19 +01:00
|
|
|
describe DeletedDossier do
|
|
|
|
let(:deleted_dossier) { create(:deleted_dossier) }
|
|
|
|
|
|
|
|
describe 'with discarded procedure' do
|
|
|
|
before do
|
|
|
|
deleted_dossier.procedure.discard!
|
|
|
|
deleted_dossier.reload
|
|
|
|
end
|
|
|
|
|
|
|
|
it { expect(deleted_dossier.procedure).not_to be_nil }
|
|
|
|
end
|
|
|
|
end
|