demarches-normaliennes/spec/models/deleted_dossier_spec.rb

15 lines
315 B
Ruby
Raw Normal View History

# frozen_string_literal: true
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