mirror of
https://github.com/zhigang1992/deployd.git
synced 2026-05-16 11:02:12 +08:00
16 lines
561 B
JavaScript
16 lines
561 B
JavaScript
var Client = require('../lib/client').Client;
|
|
|
|
describe('Client', function() {
|
|
describe('.createStore(namespace)', function() {
|
|
// it('should return a new connection', function() {
|
|
// var client = new Client()
|
|
// , store = client.createStore('my-store');
|
|
|
|
// expect(typeof store.find).to.equal('function');
|
|
// expect(typeof store.insert).to.equal('function');
|
|
// expect(typeof store.update).to.equal('function');
|
|
// expect(typeof store.remove).to.equal('function');
|
|
// expect(typeof store.rename).to.equal('function');
|
|
// });
|
|
});
|
|
}); |