From 4053f11f800280569f5b7396ad015f0a6bcc7b49 Mon Sep 17 00:00:00 2001 From: Santi Albo Date: Fri, 8 Nov 2013 22:23:02 +0000 Subject: [PATCH] fix(gen): remove extra "App" from service spec files Pull request #413 changed the way the names are handled. Forgot to update these 4 files. --- templates/coffeescript-min/spec/service.coffee | 2 +- templates/coffeescript/spec/service.coffee | 2 +- templates/javascript-min/spec/service.js | 2 +- templates/javascript/spec/service.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/coffeescript-min/spec/service.coffee b/templates/coffeescript-min/spec/service.coffee index 9eae32b3f..07291d18a 100644 --- a/templates/coffeescript-min/spec/service.coffee +++ b/templates/coffeescript-min/spec/service.coffee @@ -3,7 +3,7 @@ describe 'Service: <%= classedName %>', () -> # load the service's module - beforeEach module '<%= scriptAppName %>App' + beforeEach module '<%= scriptAppName %>' # instantiate service <%= classedName %> = {} diff --git a/templates/coffeescript/spec/service.coffee b/templates/coffeescript/spec/service.coffee index 9eae32b3f..07291d18a 100644 --- a/templates/coffeescript/spec/service.coffee +++ b/templates/coffeescript/spec/service.coffee @@ -3,7 +3,7 @@ describe 'Service: <%= classedName %>', () -> # load the service's module - beforeEach module '<%= scriptAppName %>App' + beforeEach module '<%= scriptAppName %>' # instantiate service <%= classedName %> = {} diff --git a/templates/javascript-min/spec/service.js b/templates/javascript-min/spec/service.js index 93e717916..d41939590 100644 --- a/templates/javascript-min/spec/service.js +++ b/templates/javascript-min/spec/service.js @@ -3,7 +3,7 @@ describe('Service: <%= classedName %>', function () { // load the service's module - beforeEach(module('<%= scriptAppName %>App')); + beforeEach(module('<%= scriptAppName %>')); // instantiate service var <%= classedName %>; diff --git a/templates/javascript/spec/service.js b/templates/javascript/spec/service.js index c4a6898a2..729509e3e 100644 --- a/templates/javascript/spec/service.js +++ b/templates/javascript/spec/service.js @@ -3,7 +3,7 @@ describe('Service: <%= classedName %>', function () { // load the service's module - beforeEach(module('<%= scriptAppName %>App')); + beforeEach(module('<%= scriptAppName %>')); // instantiate service var <%= classedName %>;