You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2012/11/01 23:09:18 UTC

[3/58] [abbrv] git commit: Fixes Storage unit test - window.openDatabase should be defined

Fixes Storage unit test - window.openDatabase should be defined


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp8/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp8/commit/55b8081d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp8/tree/55b8081d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp8/diff/55b8081d

Branch: refs/heads/master
Commit: 55b8081d8d8aa2c71e94d4e3f03c8295d2bda969
Parents: b2eba04
Author: Ruslan Kokorev <ru...@bsquare.com>
Authored: Thu Nov 1 11:15:44 2012 +0400
Committer: Ruslan Kokorev <ru...@bsquare.com>
Committed: Thu Nov 1 11:15:44 2012 +0400

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


http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp8/blob/55b8081d/tests/MobileSpecUnitTests/www/autotest/tests/storage.tests.js
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/autotest/tests/storage.tests.js b/tests/MobileSpecUnitTests/www/autotest/tests/storage.tests.js
index 2c90bbd..08ea608 100644
--- a/tests/MobileSpecUnitTests/www/autotest/tests/storage.tests.js
+++ b/tests/MobileSpecUnitTests/www/autotest/tests/storage.tests.js
@@ -150,7 +150,7 @@ describe("Session Storage", function () {
 
     describe("HTML 5 Storage", function () {
         it("should exist", function() {
-            expect(window.openDatabase);
+            expect(window.openDatabase).toBeDefined();
         });
 
         it("Should be able to create and drop tables", function() {