mirror of
https://github.com/nasa/openmct.git
synced 2025-06-14 05:08:15 +00:00
[Time Conductor] Update PlotController spec
...and add check to updateValues in PlotController, to reflect changes made to restore support for domain switching.
This commit is contained in:
@ -169,8 +169,9 @@ define(
|
||||
mockDomainObject
|
||||
]);
|
||||
|
||||
// Make an object available
|
||||
// Make an object available; invoke handler's callback
|
||||
mockScope.$watch.mostRecentCall.args[1](mockDomainObject);
|
||||
mockHandler.handle.mostRecentCall.args[1]();
|
||||
|
||||
expect(controller.getModeOptions().length).toEqual(1);
|
||||
|
||||
@ -181,8 +182,9 @@ define(
|
||||
mockDomainObject
|
||||
]);
|
||||
|
||||
// Make an object available
|
||||
// Make an object available; invoke handler's callback
|
||||
mockScope.$watch.mostRecentCall.args[1](mockDomainObject);
|
||||
mockHandler.handle.mostRecentCall.args[1]();
|
||||
|
||||
expect(controller.getModeOptions().length).toEqual(2);
|
||||
});
|
||||
|
Reference in New Issue
Block a user