@@ -109,7 +109,7 @@ describe('angular-fullstack:app', function() {
109
109
it ( 'generates the proper files' , function ( ) {
110
110
const expectedFiles = getExpectedFiles . app ( defaultOptions ) ;
111
111
assert . file ( expectedFiles ) ;
112
- return assertOnlyFiles ( expectedFiles , path . normalize ( dir ) ) . should . eventually . be . fulfilled ;
112
+ return assertOnlyFiles ( expectedFiles , path . normalize ( dir ) ) . should . be . fulfilled ( ) ;
113
113
} ) ;
114
114
115
115
it ( 'passes JSCS' , function ( ) {
@@ -128,7 +128,7 @@ describe('angular-fullstack:app', function() {
128
128
return runCmd ( 'grunt test:server' ) . should . be . fulfilled ( ) ;
129
129
} ) ;
130
130
131
- describe ( 'with a generated endpont ' , function ( ) {
131
+ describe ( 'with a generated endpoint ' , function ( ) {
132
132
beforeEach ( function ( ) {
133
133
getConfig ( path . join ( dir , '.yo-rc.json' ) ) . then ( config => {
134
134
return runEndpointGen ( 'foo' , { config : config [ 'generator-angular-fullstack' ] } ) ;
@@ -140,7 +140,7 @@ describe('angular-fullstack:app', function() {
140
140
} ) ;
141
141
} ) ;
142
142
143
- describe ( 'with a generated capitalized endpont ' , function ( ) {
143
+ describe ( 'with a generated capitalized endpoint ' , function ( ) {
144
144
beforeEach ( function ( ) {
145
145
getConfig ( path . join ( dir , '.yo-rc.json' ) ) . then ( config => {
146
146
return runEndpointGen ( 'Foo' , { config : config [ 'generator-angular-fullstack' ] } ) ;
@@ -152,7 +152,7 @@ describe('angular-fullstack:app', function() {
152
152
} ) ;
153
153
} ) ;
154
154
155
- describe ( 'with a generated path name endpont ' , function ( ) {
155
+ describe ( 'with a generated path name endpoint ' , function ( ) {
156
156
beforeEach ( function ( ) {
157
157
getConfig ( path . join ( dir , '.yo-rc.json' ) ) . then ( config => {
158
158
return runEndpointGen ( 'foo/bar' , { config : config [ 'generator-angular-fullstack' ] } ) ;
@@ -164,41 +164,7 @@ describe('angular-fullstack:app', function() {
164
164
} ) ;
165
165
} ) ;
166
166
167
- it ( 'should generate expected files with path name endpoint' ) ;
168
- // [
169
- // 'server/api/foo/bar/index.js',
170
- // 'server/api/foo/bar/index.spec.js',
171
- // 'server/api/foo/bar/bar.controller.js',
172
- // 'server/api/foo/bar/bar.events.js',
173
- // 'server/api/foo/bar/bar.integration.js',
174
- // 'server/api/foo/bar/bar.model.js',
175
- // 'server/api/foo/bar/bar.socket.js'
176
- // ]
177
-
178
- it ( 'should use existing config if available' ) ;
179
- // this.timeout(60000);
180
- // return copyAsync(__dirname + '/fixtures/.yo-rc.json', __dirname + '/temp/.yo-rc.json').then(() => {
181
- // var gen = helpers.createGenerator('angular-fullstack:app', [
182
- // '../../generators/app',
183
- // '../../generators/endpoint',
184
- // [
185
- // helpers.createDummyGenerator(),
186
- // 'ng-component:app'
187
- // ]
188
- // ], [], {
189
- // skipInstall: true
190
- // });
191
- // helpers.mockPrompt(gen, {
192
- // skipConfig: true
193
- // });
194
- // gen.run(function () {
195
- // assert.file([
196
- // 'client/app/main/main.less',
197
- // 'server/auth/google/passport.js'
198
- // ]);
199
- // done();
200
- // });
201
- // });
167
+ it ( 'should run server tests successfully with generated snake-case endpoint' ) ; //'foo-bar'
202
168
203
169
if ( ! process . env . SKIP_E2E ) {
204
170
it ( 'should run e2e tests successfully' ) ; //'grunt test:e2e'
0 commit comments