it('should remove entities', function (done) { var next = assume.wait(2, 2, done); Foo.remove({ fooId: one }, function (err) { assume(err).is.falsey(); next(); }); Foo.remove({ fooId: two }, function (err) { assume(err).is.falsey(); next(); }); });
it('should create multiple records in the database', function (done) { var next = assume.wait(2, 2, done); Foo.create({ fooId: one }, function (err) { assume(err).is.falsey(); next(); }); Foo.create({ fooId: two }, function (err) { assume(err).is.falsey(); next(); }); });