mirror of
https://github.com/stolksdorf/homebrewery.git
synced 2025-12-13 19:45:57 +00:00
moving the db setup out
This commit is contained in:
@@ -12,11 +12,16 @@ describe('BrewDB', () => {
|
||||
return BrewDB.create({
|
||||
text : "Brew Text"
|
||||
}).then((brew) => {
|
||||
console.log('running?');
|
||||
should.exist(brew);
|
||||
brew.should.have.property('editId').that.is.a('string');
|
||||
brew.should.have.property('shareId').that.is.a('string');
|
||||
brew.should.have.property('text').that.is.a('string');
|
||||
});
|
||||
done();
|
||||
})
|
||||
.catch(()=>{
|
||||
console.log('yo');
|
||||
})
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user