author | Ryan Willoughby <ryan.willoughby@nitobi.com> |
Tue, 06 Jul 2010 11:31:19 -0700 | |
changeset 0 | 54063d8b0412 |
permissions | -rwxr-xr-x |
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"); }); }