First jasmine test
This commit is contained in:
9
test/mongodb.spec.js
Normal file
9
test/mongodb.spec.js
Normal file
@ -0,0 +1,9 @@
|
||||
describe("MongoDB", function() {
|
||||
it("is there a server running", function(next) {
|
||||
var mongoose = require('mongoose');
|
||||
mongoose.connect('localhost', function(err) {
|
||||
expect(err).toBe(null);
|
||||
next();
|
||||
});
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user