Email notification: use the right method for procedures
This commit is contained in:
parent
176be142cc
commit
e65e21a72f
3 changed files with 7 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue