mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 13:17:53 +00:00
Merge branch 'master' into csv-export-update-751
This commit is contained in:
commit
536e2290b8
@ -146,7 +146,7 @@ define([
|
||||
"$timeout",
|
||||
"objectService"
|
||||
]
|
||||
},
|
||||
}
|
||||
],
|
||||
"directives": [
|
||||
{
|
||||
@ -309,7 +309,7 @@ define([
|
||||
"uses": [
|
||||
"action"
|
||||
]
|
||||
},
|
||||
}
|
||||
],
|
||||
"components": [
|
||||
{
|
||||
|
@ -77,10 +77,10 @@ define(
|
||||
]
|
||||
);
|
||||
mockDomainObject.hasCapability.andCallFake(function (name) {
|
||||
return !!capabilities[name];
|
||||
return !!capabilities[name];
|
||||
});
|
||||
mockDomainObject.getCapability.andCallFake(function (name) {
|
||||
return capabilities[name];
|
||||
return capabilities[name];
|
||||
});
|
||||
mockSaveAction = jasmine.createSpyObj(
|
||||
"saveAction",
|
||||
@ -165,10 +165,10 @@ define(
|
||||
|
||||
describe("uses to editor capability", function () {
|
||||
var promise = jasmine.createSpyObj("promise", ["then"]);
|
||||
beforeEach(function () {
|
||||
capabilities.action.getActions.andReturn([]);
|
||||
capabilities.action.perform.andReturn(promise);
|
||||
});
|
||||
beforeEach(function () {
|
||||
capabilities.action.getActions.andReturn([]);
|
||||
capabilities.action.perform.andReturn(promise);
|
||||
});
|
||||
|
||||
it("to save the edit if user saves dialog", function () {
|
||||
action.perform();
|
||||
|
Loading…
Reference in New Issue
Block a user