Files
stf-DeviceFarmer/res/app/components/stf/common-ui/enable-autofill/enable-autofill-spec.js
2014-07-31 16:54:28 +09:00

23 lines
567 B
JavaScript

describe('enableAutofill', function () {
beforeEach(module('stf.enable-autofill'));
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 enable-autofill name="name">hi</div>')(scope);
expect(element.text()).toBe('hello, world');
*/
});
});