- Tabs are nice now.

This commit is contained in:
Gunther Brunner
2014-03-27 20:03:22 +09:00
parent 648c58d96b
commit 3c8efab212
11 changed files with 166 additions and 19 deletions

View File

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