mirror of
https://github.com/nasa/openmct.git
synced 2025-04-15 06:56:43 +00:00
[Time Conductor] Update ConductorRepresenter spec
...to reflect that TimeConductor exposes whole domain metadata, not just key.
This commit is contained in:
parent
ce5a650d8c
commit
60e97eb94a
@ -129,7 +129,7 @@ define(
|
||||
it("exposes conductor state in scope", function () {
|
||||
mockConductor.displayStart.andReturn(1977);
|
||||
mockConductor.displayEnd.andReturn(1984);
|
||||
mockConductor.domain.andReturn('d');
|
||||
mockConductor.domain.andReturn({ key: 'd' });
|
||||
representer.represent(testViews[0], {});
|
||||
|
||||
expect(mockNewScope.ngModel.conductor).toEqual({
|
||||
@ -219,7 +219,7 @@ define(
|
||||
representer.represent(testViews[0], null);
|
||||
|
||||
expect(mockNewScope.ngModel.domain)
|
||||
.toEqual(mockConductor.domain());
|
||||
.toEqual(mockConductor.domain().key);
|
||||
});
|
||||
|
||||
it("exposes domain options in scope", function () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user