Cleanups minus destroy stuff

This commit is contained in:
Max Lynch
2014-01-07 18:00:52 -06:00
parent 67488fa403
commit 8673bf6114
3 changed files with 0 additions and 23 deletions

View File

@@ -79,11 +79,4 @@ describe('Ionic Side Menu Directive', function () {
expect(sideMenuCtrl.left.pushDown).not.toBe(undefined);
expect(sideMenuCtrl.left.bringUp).not.toBe(undefined);
});
it('Should remove the attributes it sets on the controller', function () {
scope.$destroy();
expect(sideMenuCtrl.left.isEnabled).toBe(undefined);
expect(sideMenuCtrl.left.pushDown).toBe(undefined);
expect(sideMenuCtrl.left.bringUp).toBe(undefined);
});
});