Skip to content
Permalink
Browse files
Part 2 - Don't check the error type in the badUrl filetransfer test.
Just verify that the error callback is called.
  • Loading branch information
agrieve committed Jul 10, 2013
1 parent 7cc276a commit 7102bbf150769018fd031de99b5ac9500e50b1e4
Showing 1 changed file with 0 additions and 1 deletion.
@@ -690,7 +690,6 @@ describe('FileTransfer', function() {
var remoteFile = server + "/upload";

var uploadFail = jasmine.createSpy().andCallFake(function(error) {
expect(error.code).toBe(FileTransferError.FILE_NOT_FOUND_ERR);
expect(error.http_status).not.toBe(401, "Ensure " + remoteFile + " is in the white list");
});

0 comments on commit 7102bbf

Please sign in to comment.