Revert "Revert "go to procedure after cliking link""

This reverts commit 952bae32fe.
This commit is contained in:
Christophe Robillard 2020-03-18 16:29:48 +01:00
parent 6ea64c28e1
commit 884de51b94
3 changed files with 14 additions and 1 deletions

View file

@ -164,6 +164,7 @@ describe ApplicationController, type: :controller do
allow(@controller).to receive(:instructeur_signed_in?).and_return(instructeur_signed_in)
allow(@controller).to receive(:sensitive_path).and_return(sensitive_path)
allow(@controller).to receive(:send_login_token_or_bufferize)
allow(@controller).to receive(:get_stored_location_for).and_return(nil)
allow(@controller).to receive(:store_location_for)
allow(IPService).to receive(:ip_trusted?).and_return(ip_trusted)
end