mirror of
https://github.com/zhigang1992/deployd.git
synced 2026-06-15 01:49:35 +08:00
resolved conflicts
This commit is contained in:
@@ -354,9 +354,24 @@ describe('Collection', function() {
|
||||
dpd.empty.get(function(result) {
|
||||
expect(result).to.eql([]);
|
||||
done();
|
||||
})
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('cancel()', function(){
|
||||
it('should cancel when POSTing', function(done) {
|
||||
dpd.empty.post({}, function (item, err) {
|
||||
expect(err).to.exist;
|
||||
expect(err.message).to.equal('testing cancel');
|
||||
done();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
afterEach(function (done) {
|
||||
this.timeout(10000);
|
||||
cleanCollection(dpd.empty, done);
|
||||
})
|
||||
});
|
||||
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user