mirror of
https://github.com/nasa/openmct.git
synced 2025-01-21 03:55:31 +00:00
[Events] RT Messages policy test
The view policy test for real time Messages now works. #26.
This commit is contained in:
parent
41e75d7494
commit
4e03d7b29b
@ -39,9 +39,7 @@ define(
|
||||
policy;
|
||||
|
||||
beforeEach(function () {
|
||||
|
||||
testView = { key: "string" };
|
||||
testMetadata = {};
|
||||
testMetadata = {ranges};
|
||||
|
||||
mockDomainObject = jasmine.createSpyObj(
|
||||
'domainObject',
|
||||
@ -58,7 +56,7 @@ define(
|
||||
mockDomainObject.getCapability.andCallFake(function (c) {
|
||||
return c === 'telemetry' ? mockTelemetry : undefined;
|
||||
});
|
||||
mockTelemetry.getMetadata.andReturn(testMetadata);
|
||||
mockTelemetry.getMetadata = testMetadata;
|
||||
|
||||
policy = new RTMessagesViewPolicy();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user