filer/tests/spec/fs.xattr.spec.js

21 lines
461 B
JavaScript
Raw Normal View History

define(["IDBFS"], function(IDBFS) {
describe('fs.utimes', function() {
beforeEach(function() {
this.db_name = mk_db_name();
this.fs = new IDBFS.FileSystem({
name: this.db_name,
flags: 'FORMAT'
});
});
afterEach(function() {
indexedDB.deleteDatabase(this.db_name);
delete this.fs;
});
});
it('should be a function', function () {
expect(typeof this.setxattr).toEqual('function');
});
}