cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject spec commit: Fix FileTransfer 404 test
Date Wed, 20 Mar 2013 17:48:38 GMT
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 <shazron@apache.org>
Authored: Wed Mar 20 10:48:30 2013 -0700
Committer: Shazron Abdullah <shazron@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() {


Mime
View raw message