1. describe('Connection', function(){
  2. var db = new Connection
  3. , tobi = new User('tobi')
  4. , loki = new User('loki')
  5. , jane = new User('jane');
  6. beforeEach(function(done){
  7. db.clear(function(err){
  8. if (err) return done(err);
  9. db.save([tobi, loki, jane], done);
  10. });
  11. })