Files
ionic-framework/js/ext/angular/test/directive/ionicSideMenu.unit.js
Max Lynch 8e738713d5 Lots
2013-11-13 18:40:26 -06:00

19 lines
486 B
JavaScript

/**
* Test the side menu directive. For more test coverage of the side menu,
* see the core Ionic sideMenu controller tests.
*/
describe('Ionic Angular Side Menu', function() {
var el;
beforeEach(module('ionic.ui.sideMenu'));
beforeEach(inject(function($compile, $rootScope) {
el = $compile('<div side-menu-ctrl></div>')($rootScope);
}));
it('Should init', function() {
var scope = el.scope();
expect(scope.sideMenuController).not.toBe(undefined);
});
});