mirror of
https://github.com/zhigang1992/deployd.git
synced 2026-06-05 20:02:13 +08:00
11 lines
325 B
JavaScript
11 lines
325 B
JavaScript
describe('Types', function(){
|
|
describe('GET /types', function(){
|
|
it('should return an object describing all the available types', function(done) {
|
|
types.get(function (err, all) {
|
|
expect(all).to.be.a('object');
|
|
expect(all).to.eql(require('../lib/types'));
|
|
done(err);
|
|
})
|
|
})
|
|
})
|
|
}) |