Email notification: use the right method for procedures

This commit is contained in:
simon lehericey 2019-04-17 15:20:10 +02:00
parent 176be142cc
commit e65e21a72f
3 changed files with 7 additions and 5 deletions

View file

@ -49,7 +49,7 @@ describe NotificationService do
context 'when there is a notification on this procedure' do
before do
allow_any_instance_of(Gestionnaire).to receive(:notifications_per_procedure)
allow_any_instance_of(Gestionnaire).to receive(:notifications_for_procedure)
.and_return([12])
end