Updated Branches: refs/heads/master 7cc276a25 -> 7102bbf15
Part 2 - Don't check the error type in the badUrl filetransfer test. Just verify that the error callback is called. Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/7102bbf1 Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/7102bbf1 Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/7102bbf1 Branch: refs/heads/master Commit: 7102bbf150769018fd031de99b5ac9500e50b1e4 Parents: 7cc276a Author: Andrew Grieve <[email protected]> Authored: Wed Jul 10 15:10:55 2013 -0400 Committer: Andrew Grieve <[email protected]> Committed: Wed Jul 10 15:10:55 2013 -0400 ---------------------------------------------------------------------- autotest/tests/filetransfer.tests.js | 1 - 1 file changed, 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/7102bbf1/autotest/tests/filetransfer.tests.js ---------------------------------------------------------------------- diff --git a/autotest/tests/filetransfer.tests.js b/autotest/tests/filetransfer.tests.js index 415d0b9..200fec7 100644 --- a/autotest/tests/filetransfer.tests.js +++ b/autotest/tests/filetransfer.tests.js @@ -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"); });
