module.exports = function(config) {
config.set({
frameworks: ['jasmine', 'jasmine-def']
});
};
describe('a cleaner spec with lazy test subjects', function () {
subject(function () {
return new SomeObject(this.options);
});
def('options', function () {
return { foo: 'foo' };
});
it('works', function () {
expect(this.options).toBeDefined();
expect(this.subject).toBeDefined();
});
});