initScope() is deprecated in Ocata and will be removed in Queens.
So this patch changes to use initScope() to initAction().
Change-Id: I66af8b65824d224cb69004557df9f7aaf50afc72
Closes-Bug: #1647921
This patch adds javascript tests for the following modules.
- horizon.dashboard.container-infra.cluster-templates.
delete.service
Change-Id: Iff56bb82ae5358c0c03e33682a55d237b5ffc223