mirror of
https://github.com/nasa/openmct.git
synced 2025-05-12 05:23:13 +00:00
Merge pull request #961 from nasa/open959
[Style] Fixed style issues introduced by #954
This commit is contained in:
commit
7c11f2db4f
@ -146,7 +146,7 @@ define([
|
|||||||
"$timeout",
|
"$timeout",
|
||||||
"objectService"
|
"objectService"
|
||||||
]
|
]
|
||||||
},
|
}
|
||||||
],
|
],
|
||||||
"directives": [
|
"directives": [
|
||||||
{
|
{
|
||||||
@ -309,7 +309,7 @@ define([
|
|||||||
"uses": [
|
"uses": [
|
||||||
"action"
|
"action"
|
||||||
]
|
]
|
||||||
},
|
}
|
||||||
],
|
],
|
||||||
"components": [
|
"components": [
|
||||||
{
|
{
|
||||||
|
@ -77,10 +77,10 @@ define(
|
|||||||
]
|
]
|
||||||
);
|
);
|
||||||
mockDomainObject.hasCapability.andCallFake(function (name) {
|
mockDomainObject.hasCapability.andCallFake(function (name) {
|
||||||
return !!capabilities[name];
|
return !!capabilities[name];
|
||||||
});
|
});
|
||||||
mockDomainObject.getCapability.andCallFake(function (name) {
|
mockDomainObject.getCapability.andCallFake(function (name) {
|
||||||
return capabilities[name];
|
return capabilities[name];
|
||||||
});
|
});
|
||||||
mockSaveAction = jasmine.createSpyObj(
|
mockSaveAction = jasmine.createSpyObj(
|
||||||
"saveAction",
|
"saveAction",
|
||||||
@ -165,10 +165,10 @@ define(
|
|||||||
|
|
||||||
describe("uses to editor capability", function () {
|
describe("uses to editor capability", function () {
|
||||||
var promise = jasmine.createSpyObj("promise", ["then"]);
|
var promise = jasmine.createSpyObj("promise", ["then"]);
|
||||||
beforeEach(function () {
|
beforeEach(function () {
|
||||||
capabilities.action.getActions.andReturn([]);
|
capabilities.action.getActions.andReturn([]);
|
||||||
capabilities.action.perform.andReturn(promise);
|
capabilities.action.perform.andReturn(promise);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("to save the edit if user saves dialog", function () {
|
it("to save the edit if user saves dialog", function () {
|
||||||
action.perform();
|
action.perform();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user