Files
stf-DeviceFarmer/res/app/components/stf/angular-draggabilly/angular-draggabilly-spec.js
2016-01-19 23:08:33 +09:00

22 lines
571 B
JavaScript

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