Files
stf-DeviceFarmer/res/app/components/stf/common-ui/refresh-page/refresh-page-spec.js
Gunther Brunner 334d26eb30 - Adding refresh page directive.
- Moving controller inside link function because it was not shared code anyways.
2014-03-26 14:31:35 +09:00

23 lines
558 B
JavaScript

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