mirror of
https://github.com/nasa/openmct.git
synced 2024-12-22 14:32:22 +00:00
e2c6db8259
Stub in specs for policies added for Edit mode which control the availability of the Edit and/or Edit Properties actions in the view-control area, WTD-1062.
30 lines
805 B
JavaScript
30 lines
805 B
JavaScript
/*global define,describe,it,expect,beforeEach,jasmine*/
|
|
|
|
define(
|
|
["../../src/policies/EditActionPolicy"],
|
|
function (EditActionPolicy) {
|
|
"use strict";
|
|
|
|
describe("The Edit action policy", function () {
|
|
it("allows the edit action when there are editable views", function () {
|
|
|
|
});
|
|
|
|
it("allows the edit properties action when there are no editable views", function () {
|
|
|
|
});
|
|
|
|
it("disallows the edit action when there are no editable views", function () {
|
|
|
|
});
|
|
|
|
it("disallows the edit properties action when there are editable views", function () {
|
|
|
|
});
|
|
|
|
it("allows the edit properties outside of the 'view-control' category", function () {
|
|
|
|
});
|
|
});
|
|
}
|
|
); |