1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 10:39:25 +02:00
OpenSTF/res/app/components/stf/angular-packery/angular-packery-spec.js
Gunther Brunner 00eb155ab9 Created Packery and Draggabilly directives.
Applied the Packery directive to Info layout based on media queries.
2014-05-26 21:05:54 +09:00

23 lines
No EOL
567 B
JavaScript

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