diff -r 000000000000 -r 54063d8b0412 spec/tests/storage.tests.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/spec/tests/storage.tests.js Tue Jul 06 11:31:19 2010 -0700 @@ -0,0 +1,12 @@ +Tests.prototype.StorageTests = function() +{ + module("HTML 5 Storage"); + test("should exist", function() { + expect(1); + ok(typeof(window.openDatabase) == "function", "Database is defined"); + }); + test("Should open a database", function() { + var db = openDatabase("Database", "1.0", "HTML5 Database API example", 200000); + ok(db != null, "Database should be opened"); + }); +}