demarches-normaliennes/spec/models/deleted_dossier_spec.rb
2021-03-25 13:24:53 +01:00

12 lines
284 B
Ruby

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