Files
stf-DeviceFarmer/res/app/components/stf/common-ui/clear-button/clear-button-spec.js
2014-03-26 16:06:49 +09:00

24 lines
558 B
JavaScript

describe('clearButton', function () {
beforeEach(module('stf.clear-button'));
var scope, compile;
beforeEach(inject(function ($rootScope, $compile) {
scope = $rootScope.$new();
compile = $compile;
}));
it('should ...', function () {
/*
To test your directive, you need to create some html that would use your
directive, send that through compile() then compare the results.
var element = compile('<div clear-button name="name">hi</div>')(scope);
expect(element.text()).toBe('hello, world');
*/
});
});