We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cda5261 commit a817ec9Copy full SHA for a817ec9
endpoint/templates/index.spec.js
@@ -19,7 +19,7 @@ var routerStub = {
19
};
20
21
// require the index with our stubbed out modules
22
-var <%= name %>Index = proxyquire('./index.js', {
+var <%= cameledName %>Index = proxyquire('./index.js', {
23
'express': {
24
Router: function() {
25
return routerStub;
@@ -31,7 +31,7 @@ var <%= name %>Index = proxyquire('./index.js', {
31
describe('<%= classedName %> API Router:', function() {
32
33
it('should return an express router instance', function() {
34
- <%= name %>Index.should.equal(router);
+ <%= cameledName %>Index.should.equal(routerStub);
35
});
36
37
describe('GET <%= route %>', function() {
test/test-file-creation.js
@@ -149,7 +149,7 @@ describe('angular-fullstack generator', function () {
149
'server/api/thing/index.js',
150
'server/api/thing/index.spec.js',
151
'server/api/thing/thing.controller.js',
152
- 'server/api/thing/thing.e2e.js',
+ 'server/api/thing/thing.integration.js',
153
'server/components/errors/index.js',
154
'server/config/local.env.js',
155
'server/config/local.env.sample.js',
@@ -215,7 +215,7 @@ describe('angular-fullstack generator', function () {
215
'server/api/user/index.js',
216
'server/api/user/index.spec.js',
217
'server/api/user/user.controller.js',
218
- 'server/api/user/user.e2e.js',
+ 'server/api/user/user.integration.js',
219
'server/api/user/user.model.js',
220
'server/api/user/user.model.spec.js',
221
'server/auth/index.js',
0 commit comments