mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Cleanups minus destroy stuff
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user