Fix a gestionnaire test

This commit is contained in:
gregoirenovel 2017-07-19 12:23:53 +02:00 committed by Mathieu Magnin
parent 2aa8c1d272
commit 55a4f1288f

View file

@ -319,7 +319,7 @@ describe Gestionnaire, type: :model do
expect_any_instance_of(Procedure).to receive(:procedure_overview).and_return(procedure_overview) expect_any_instance_of(Procedure).to receive(:procedure_overview).and_return(procedure_overview)
end end
it { expect(gestionnaire.last_week_overview[:procedure_overviews]).to match([procedure_overview]) } it { expect(gestionnaire2.last_week_overview[:procedure_overviews]).to match([procedure_overview]) }
end end
context 'when a procedure not published was active with no notifications' do context 'when a procedure not published was active with no notifications' do