do not show warning dialog when user moves an object from one location to another (#2142)

* dont show error dialog when user moves an object from one location to another

* add test for not showing blocking message on remove action

Fixes #2141
This commit is contained in:
Deep Tailor
2018-08-10 10:06:40 -07:00
committed by Pete Richards
parent 37dd4856a6
commit 33a4792531
5 changed files with 32 additions and 14 deletions

View File

@@ -224,10 +224,11 @@ define(
locationPromise.resolve();
});
it("removes object from parent", function () {
it("removes object from parent without user warning dialog", function () {
expect(actionCapability.perform)
.toHaveBeenCalledWith('remove');
.toHaveBeenCalledWith('remove', true);
});
});
});
@@ -244,9 +245,9 @@ define(
.toHaveBeenCalled();
});
it("removes object from parent", function () {
it("removes object from parent without user warning dialog", function () {
expect(actionCapability.perform)
.toHaveBeenCalledWith('remove');
.toHaveBeenCalledWith('remove', true);
});
});