cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i..@apache.org
Subject spec commit: CB-6012: Fix incorrect test in previous commit
Date Tue, 11 Feb 2014 21:12:57 GMT
Updated Branches:
  refs/heads/master 63a0b9573 -> 9429825cf


CB-6012: Fix incorrect test in previous commit


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

Branch: refs/heads/master
Commit: 9429825cf3134a961efe52a02cc7572f06d348da
Parents: 63a0b95
Author: Ian Clelland <iclelland@chromium.org>
Authored: Tue Feb 11 16:12:28 2014 -0500
Committer: Ian Clelland <iclelland@chromium.org>
Committed: Tue Feb 11 16:12:36 2014 -0500

----------------------------------------------------------------------
 autotest/tests/file.tests.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/9429825c/autotest/tests/file.tests.js
----------------------------------------------------------------------
diff --git a/autotest/tests/file.tests.js b/autotest/tests/file.tests.js
index e042c62..d006e10 100644
--- a/autotest/tests/file.tests.js
+++ b/autotest/tests/file.tests.js
@@ -270,7 +270,7 @@ describe('File API', function() {
                 win = jasmine.createSpy().andCallFake(function(fileEntry) {
                     expect(fileEntry).toBeDefined();
                     if (fileEntry.toURL().toLowerCase().substring(0,10) === "cdvfile://")
{
-                        expect(fileEntry.name).toBe(fileName + "?1234567890");
+                        expect(fileEntry.fullPath).toBe(fileName + "?1234567890");
                     }
                     expect(fileEntry.name).toBe(fileName);
 


Mime
View raw message