From 79c4aac3f50e34159917e6229264745d24e5feff Mon Sep 17 00:00:00 2001 From: Carlos Jimenez <=> Date: Wed, 14 Feb 2018 15:56:22 +0100 Subject: [PATCH] corrected indentation on routes.json and added one path to services tests js --- client/client/routes.json | 60 ++++++++++++++++++++++++++------------- services_tests.js | 1 + 2 files changed, 41 insertions(+), 20 deletions(-) diff --git a/client/client/routes.json b/client/client/routes.json index 896ab0cad..d8d0fbc03 100644 --- a/client/client/routes.json +++ b/client/client/routes.json @@ -9,16 +9,19 @@ "state": "clients", "component": "vn-client-index", "acl": ["employee"] - }, { + }, + { "url": "/create", "state": "create", "component": "vn-client-create" - }, { + }, + { "url": "/clients/:id", "state": "clientCard", "abstract": true, "component": "vn-client-card" - }, { + }, + { "url": "/basic-data", "state": "clientCard.basicData", "component": "vn-client-basic-data", @@ -29,7 +32,8 @@ "description": "Basic data", "icon": "person" } - }, { + }, + { "url": "/fiscal-data", "state": "clientCard.fiscalData", "component": "vn-client-fiscal-data", @@ -40,7 +44,8 @@ "description": "Fiscal data", "icon": "account_balance" } - }, { + }, + { "url": "/billing-data", "state": "clientCard.billingData", "component": "vn-client-billing-data", @@ -51,12 +56,14 @@ "description": "Pay method", "icon": "assignment" } - }, { + }, + { "url": "/addresses", "state": "clientCard.addresses", "component": "ui-view", "abstract": true - }, { + }, + { "url": "/list", "state": "clientCard.addresses.list", "component": "vn-client-addresses", @@ -67,15 +74,18 @@ "description": "Addresses", "icon": "local_shipping" } - }, { + }, + { "url": "/create", "state": "clientCard.addresses.create", "component": "vn-address-create" - }, { + }, + { "url": "/:addressId/edit", "state": "clientCard.addresses.edit", "component": "vn-address-edit" - }, { + }, + { "url": "/web-access", "state": "clientCard.webAccess", "component": "vn-client-web-access", @@ -86,12 +96,14 @@ "description": "Web access", "icon": "language" } - }, { + }, + { "url": "/notes", "state": "clientCard.notes", "component": "ui-view", "abstract": true - }, { + }, + { "url": "/list", "state": "clientCard.notes.list", "component": "vn-client-notes", @@ -102,16 +114,19 @@ "description": "Notes", "icon": "insert_drive_file" } - }, { + }, + { "url": "/create", "state": "clientCard.notes.create", "component": "vn-note-create" - }, { + }, + { "url": "/credit", "abstract": true, "state": "clientCard.credit", "component": "ui-view" - }, { + }, + { "url": "/list", "state": "clientCard.credit.list", "component": "vn-client-credit-list", @@ -123,19 +138,22 @@ "icon": "credit_card" }, "acl": ["manager", "salesAssistant", "teamBoss", "teamManager"] - }, { + }, + { "url": "/create", "state": "clientCard.credit.create", "component": "vn-client-credit-create", "params": { "client": "$ctrl.client" } - }, { + }, + { "url": "/greuge", "abstract": true, "state": "clientCard.greuge", "component": "ui-view" - }, { + }, + { "url": "/list", "state": "clientCard.greuge.list", "component": "vn-client-greuge-list", @@ -146,14 +164,16 @@ "description": "Greuge", "icon": "work" } - }, { + }, + { "url": "/create", "state": "clientCard.greuge.create", "component": "vn-client-greuge-create", "params": { "client": "$ctrl.client" } - }, { + }, + { "url": "/mandate", "state": "clientCard.mandate", "component": "vn-client-mandate", diff --git a/services_tests.js b/services_tests.js index 068f8c8f2..fe3c907da 100644 --- a/services_tests.js +++ b/services_tests.js @@ -19,6 +19,7 @@ jasmine.loadConfig({ spec_files: [ 'auth/server/**/*[sS]pec.js', 'client/common/**/*[sS]pec.js', + 'item/common/**/*[sS]pec.js', 'loopback/common/**/*[sS]pec.js' ], helpers: [