Skip to content

Commit 0b36375

Browse files
committed
feat(gen:test): add endpoint path name test
1 parent fdd5b68 commit 0b36375

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

Diff for: src/test/main.test.js

+14-2
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,21 @@ describe('angular-fullstack:app', function() {
156156
});
157157
});
158158

159-
it('should pass lint with generated path name endpoint'); //'foo/bar'
159+
describe('with a generated path name endpont', function() {
160+
beforeEach(function() {
161+
getConfig(dir).then(config => {
162+
return runEndpointGen('foo/bar', {config: config['generator-angular-fullstack']});
163+
});
164+
});
165+
166+
it('should pass jscs');
160167

161-
it('should run server tests successfully with generated path name endpoint');
168+
it('should pass lint');
169+
170+
it('should run server tests successfully', function(done) {
171+
runCmd('grunt test:server', done);
172+
});
173+
});
162174

163175
it('should generate expected files with path name endpoint');
164176
// [

0 commit comments

Comments
 (0)