Updated Branches: refs/heads/master 95d4bca5b -> c98b753a4
[CB-3491] Fixed mobilespec storage test to include check for openDatabase function - added jasmine 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/c98b753a Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/c98b753a Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/c98b753a Branch: refs/heads/master Commit: c98b753a4d95903eba6270c1ed260c0495532f10 Parents: 95d4bca Author: ldeluca <[email protected]> Authored: Thu May 23 17:02:24 2013 -0400 Committer: Fil Maj <[email protected]> Committed: Wed Jun 19 18:43:47 2013 -0700 ---------------------------------------------------------------------- autotest/tests/storage.tests.js | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/c98b753a/autotest/tests/storage.tests.js ---------------------------------------------------------------------- diff --git a/autotest/tests/storage.tests.js b/autotest/tests/storage.tests.js index 0294063..4f4bd5b 100644 --- a/autotest/tests/storage.tests.js +++ b/autotest/tests/storage.tests.js @@ -172,6 +172,12 @@ describe("Session Storage", function () { describe("HTML 5 Storage", function () { it("storage.spec.9 should exist", function() { expect(window.openDatabase); + + }); + + it("storage.spec.17 should contain an openDatabase function", function() { + expect(window.openDatabase).toBeDefined(); + expect(typeof window.openDatabase == 'function').toBe(true); }); it("storage.spec.18 Should be able to create and drop tables", function() {
