Started adding a badge-icon directive.

This commit is contained in:
Gunther Brunner
2014-07-16 18:12:12 +09:00
parent dd5b04998d
commit 0f0cc56c41
7 changed files with 59 additions and 1 deletions

View File

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