[#2604] Clean up AssignTo spec

This commit is contained in:
Frederic Merizen 2018-10-23 11:04:21 +02:00
parent 86f01a9120
commit 91cfa69220

View file

@ -6,7 +6,7 @@ describe AssignTo, type: :model do
let(:procedure_presentation_or_default) { assign_to.procedure_presentation_or_default }
context "without a procedure_presentation" do
it { expect(procedure_presentation_or_default.persisted?).to be_falsey }
it { expect(procedure_presentation_or_default).not_to be_persisted }
end
context "with a procedure_presentation" do