Merge pull request #1519 from nasa/mct1456
[Duplicate] Differentiate between user cancellation and other errors
This commit is contained in:
@@ -157,9 +157,9 @@ define(
|
||||
);
|
||||
});
|
||||
|
||||
it("waits for location from user", function () {
|
||||
it("waits for location and handles cancellation by user", function () {
|
||||
expect(locationServicePromise.then)
|
||||
.toHaveBeenCalledWith(jasmine.any(Function));
|
||||
.toHaveBeenCalledWith(jasmine.any(Function), jasmine.any(Function));
|
||||
});
|
||||
|
||||
it("copies object to selected location", function () {
|
||||
|
||||
@@ -180,9 +180,9 @@ define(
|
||||
);
|
||||
});
|
||||
|
||||
it("waits for location from user", function () {
|
||||
it("waits for location and handles cancellation by user", function () {
|
||||
expect(locationServicePromise.then)
|
||||
.toHaveBeenCalledWith(jasmine.any(Function));
|
||||
.toHaveBeenCalledWith(jasmine.any(Function), jasmine.any(Function));
|
||||
});
|
||||
|
||||
it("copies object to selected location", function () {
|
||||
|
||||
@@ -133,9 +133,9 @@ define(
|
||||
);
|
||||
});
|
||||
|
||||
it("waits for location from user", function () {
|
||||
it("waits for location and handles cancellation by user", function () {
|
||||
expect(locationServicePromise.then)
|
||||
.toHaveBeenCalledWith(jasmine.any(Function));
|
||||
.toHaveBeenCalledWith(jasmine.any(Function), jasmine.any(Function));
|
||||
});
|
||||
|
||||
it("links object to selected location", function () {
|
||||
|
||||
@@ -133,9 +133,9 @@ define(
|
||||
);
|
||||
});
|
||||
|
||||
it("waits for location from user", function () {
|
||||
it("waits for location and handles cancellation by user", function () {
|
||||
expect(locationServicePromise.then)
|
||||
.toHaveBeenCalledWith(jasmine.any(Function));
|
||||
.toHaveBeenCalledWith(jasmine.any(Function), jasmine.any(Function));
|
||||
});
|
||||
|
||||
it("moves object to selected location", function () {
|
||||
|
||||
Reference in New Issue
Block a user