2013-11-22 21:12:31 +00:00
|
|
|
describe("IDBFS.Providers", function() {
|
|
|
|
it("is defined", function() {
|
2013-11-27 00:12:25 +00:00
|
|
|
expect(typeof IDBFS.FileSystem.providers).not.toEqual(undefined);
|
2013-11-22 21:12:31 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
it("has IndexedDB constructor", function() {
|
2013-11-27 00:12:25 +00:00
|
|
|
expect(typeof IDBFS.FileSystem.providers.IndexedDB).toEqual('function');
|
2013-11-22 21:12:31 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
it("has Memory constructor", function() {
|
2013-11-27 00:12:25 +00:00
|
|
|
expect(typeof IDBFS.FileSystem.providers.Memory).toEqual('function');
|
2013-11-22 21:12:31 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
it("has a Default constructor", function() {
|
2013-11-27 00:12:25 +00:00
|
|
|
expect(typeof IDBFS.FileSystem.providers.Default).toEqual('function');
|
2013-11-22 21:12:31 +00:00
|
|
|
});
|
|
|
|
});
|