Skip to content

Commit 4053f11

Browse files
santialboeddiemonge
authored andcommitted
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.
1 parent 3da4a13 commit 4053f11

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Diff for: templates/coffeescript-min/spec/service.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
describe 'Service: <%= classedName %>', () ->
44

55
# load the service's module
6-
beforeEach module '<%= scriptAppName %>App'
6+
beforeEach module '<%= scriptAppName %>'
77

88
# instantiate service
99
<%= classedName %> = {}

Diff for: templates/coffeescript/spec/service.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
describe 'Service: <%= classedName %>', () ->
44

55
# load the service's module
6-
beforeEach module '<%= scriptAppName %>App'
6+
beforeEach module '<%= scriptAppName %>'
77

88
# instantiate service
99
<%= classedName %> = {}

Diff for: templates/javascript-min/spec/service.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
describe('Service: <%= classedName %>', function () {
44

55
// load the service's module
6-
beforeEach(module('<%= scriptAppName %>App'));
6+
beforeEach(module('<%= scriptAppName %>'));
77

88
// instantiate service
99
var <%= classedName %>;

Diff for: templates/javascript/spec/service.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
describe('Service: <%= classedName %>', function () {
44

55
// load the service's module
6-
beforeEach(module('<%= scriptAppName %>App'));
6+
beforeEach(module('<%= scriptAppName %>'));
77

88
// instantiate service
99
var <%= classedName %>;

0 commit comments

Comments
 (0)