Added stub for refactoring screen to screen-keyboard and screen-touch.

This commit is contained in:
Gunther Brunner
2014-07-17 18:20:10 +09:00
parent 9303c073b6
commit 321e61db64
8 changed files with 80 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
describe('screenTouch', function () {
beforeEach(module('stf.screen-touch'));
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 screen-touch name="name">hi</div>')(scope);
expect(element.text()).toBe('hello, world');
*/
});
});