Way too basic of a test, but it's a first stab

This commit is contained in:
Max Lynch
2013-11-19 16:04:30 -06:00
parent 4586516e0e
commit a8947355b9
2 changed files with 19 additions and 5 deletions

View File

@ -0,0 +1,19 @@
describe('Angular Ionic Nav Router', function() {
var modal, q;
beforeEach(module('ngRoute'));
beforeEach(module('ionic.ui.navRouter'));
beforeEach(inject(function($compile, $rootScope, $controller) {
compile = $compile;
scope = $rootScope;
}));
iit('Should init', function() {
element = compile('<pane nav-router>' +
'<nav-bar></nav-bar>' +
'<ng-view></ng-view>' +
'</pane>')(scope);
});
});