Skip to content

Commit

Permalink
Updated test files to reflect refactored code
Browse files Browse the repository at this point in the history
  • Loading branch information
jfmbrennan committed Feb 19, 2015
1 parent ce86187 commit 7a5c9ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
20 changes: 0 additions & 20 deletions test/test-load.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,4 @@ describe('ngbp module', function () {
var remove = require('../remove');
assert(remove !== undefined);
});

it('can load controllers sub-generator', function () {
var controllers = require('../controllers');
assert(controllers !== undefined);
});

it('can load filters sub-generator', function () {
var filters = require('../filters');
assert(filters !== undefined);
});

it('can load directives sub-generator', function () {
var directives = require('../directives');
assert(directives !== undefined);
});

it('can load services sub-generator', function () {
var services = require('../services');
assert(services !== undefined);
});
});
3 changes: 2 additions & 1 deletion test/test-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ describe('ngbp-module:module', function () {
.inDir(path.join(__dirname, './temp'))
.withArguments(['newModule'])
.withPrompt({
modules: ['templates', 'uiRouter']
modules: ['templates', 'uiRouter'],
scaffold: ['controllers']
})
.withGenerators([[helpers.createDummyGenerator(), 'mocha:app']]);
});
Expand Down

0 comments on commit 7a5c9ae

Please sign in to comment.