Fix a gestionnaire test
This commit is contained in:
parent
2aa8c1d272
commit
55a4f1288f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue