filer/tests/spec/providers/providers.spec.js

21 lines
582 B
JavaScript
Raw Normal View History

var Filer = require('../../../src');
2014-05-23 20:53:50 +00:00
var expect = require('chai').expect;
2013-11-27 17:18:09 +00:00
describe('Filer.FileSystem.providers', function() {
it('is defined', function() {
2014-05-23 20:53:50 +00:00
expect(Filer.FileSystem.providers).to.exist;
});
it('has IndexedDB constructor', function() {
2014-05-23 20:53:50 +00:00
expect(Filer.FileSystem.providers.IndexedDB).to.be.a('function');
});
2013-11-27 17:18:09 +00:00
it('has Memory constructor', function() {
2014-05-23 20:53:50 +00:00
expect(Filer.FileSystem.providers.Memory).to.be.a('function');
});
2013-11-27 17:18:09 +00:00
it('has a Default constructor', function() {
2014-05-23 20:53:50 +00:00
expect(Filer.FileSystem.providers.Default).to.be.a('function');
});
2013-11-27 17:18:09 +00:00
});