forked from yeoman/generator
-
Notifications
You must be signed in to change notification settings - Fork 0
test fallbacks
Mickael Daniel edited this page Jan 16, 2013
·
1 revision
I get the appropriate generator.options.
var generator = this.env.create('ember:model', {
args: ['hey'],
options: {
generator: {
'test-framework': 'jasmine'
}
}
});
assert.equal(generator.options['test-framework'], 'jasmine');
generator = new generators.Base({
env: this.env,
resolved: 'test',
generator: {
'test-framework': 'mocha'
}
});
assert.equal(generator.options['test-framework'], 'mocha');