generator-easy
Version:
An EASY stack generator, Express Angular Stylus Yeoman
19 lines (13 loc) • 445 B
JavaScript
;
describe('Service: <%= _.classify(name) %>', function () {
// load the service's module
beforeEach(module('<%= _.classify(appname) %>App'));
// instantiate service
var <%= _.classify(name) %>;
beforeEach(inject(function (_<%= _.classify(name) %>_) {
<%= _.classify(name) %> = _<%= _.classify(name) %>_;
}));
it('should do something', function () {
expect(!!<%= _.classify(name) %>).toBe(true);
});
});