Remove a useless assignment

This commit is contained in:
gregoirenovel 2018-02-20 11:24:50 +01:00
parent b325e1b4e6
commit 8902a81f23

View file

@ -188,7 +188,6 @@ describe Gestionnaire, type: :model do
end
describe "procedure_presentation_for_procedure_id" do
let!(:procedure_assign_2) { create :assign_to, gestionnaire: gestionnaire, procedure: procedure_2 }
let!(:pp) { ProcedurePresentation.create(assign_to: procedure_assign) }
it { expect(gestionnaire.procedure_presentation_for_procedure_id(procedure.id)).to eq(pp) }