[Edit] Introduce dropdown Save menu

And fix style issues in SaveAsActionSpec
This commit is contained in:
Alex M
2016-09-15 22:40:02 +03:00
parent 31ee92b711
commit d1f67fd8b9
5 changed files with 124 additions and 21 deletions

View File

@@ -155,7 +155,7 @@ define(
mockDomainObject.getModel.andReturn({persisted: 0});
expect(SaveAsAction.appliesTo(actionContext)).toBe(false);
});
it("uses the editor capability to save the object", function () {
mockEditorCapability.save.andReturn(new Promise(function () {}));
runs(function () {