demarches-normaliennes/spec/models/deleted_dossier_spec.rb

13 lines
284 B
Ruby
Raw Permalink Normal View History

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