[Mobile] Remove obsolete test cases

...for functionality that has been moved out of TreeNodeController.
This commit is contained in:
Victor Woeltjen 2015-09-18 14:54:37 -07:00
parent 5a1c83fca8
commit befa66a9e2

View File

@ -52,10 +52,10 @@ define(
"domainObject",
[ "getId", "getCapability", "getModel", "useCapability" ]
);
mockAgentService.getOrientation.andReturn("portrait");
mockAgentService.isPhone.andReturn(true);
controller = new TreeNodeController(mockScope, mockTimeout, mockAgentService);
});
@ -196,17 +196,6 @@ define(
expect(controller.isSelected()).toBeFalsy();
});
it("check if tree node is in a mobile device", function () {
if (controller) {
controller.checkMobile();
}
});
it("allows a set object to emit select-obj", function () {
controller.setObject(mockNgModel, mockDomainObject);
expect(mockScope.$emit).toHaveBeenCalledWith('select-obj');
});
});
}
);
);