You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2013/03/20 18:48:38 UTC

spec commit: Fix FileTransfer 404 test

Updated Branches:
  refs/heads/master 6956592c6 -> 7725688ff


Fix FileTransfer 404 test


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/7725688f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/7725688f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/7725688f

Branch: refs/heads/master
Commit: 7725688fff39cb194718aa56687c3c02c7696250
Parents: 6956592
Author: Shazron Abdullah <sh...@apache.org>
Authored: Wed Mar 20 10:48:30 2013 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Wed Mar 20 10:48:30 2013 -0700

----------------------------------------------------------------------
 autotest/tests/filetransfer.tests.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/7725688f/autotest/tests/filetransfer.tests.js
----------------------------------------------------------------------
diff --git a/autotest/tests/filetransfer.tests.js b/autotest/tests/filetransfer.tests.js
index ca37f25..fa2f92c 100644
--- a/autotest/tests/filetransfer.tests.js
+++ b/autotest/tests/filetransfer.tests.js
@@ -258,7 +258,7 @@ describe('FileTransfer', function() {
             var localFileName = remoteFile.substring(remoteFile.lastIndexOf('/')+1);
             var downloadFail = jasmine.createSpy().andCallFake(function(error) {
                 expect(error.body).toBeDefined();
-                expect(error.body).toEqual('You requested a 404');
+                expect(error.body).toEqual('You requested a 404\n');
             });
 
             this.after(function() {