First jasmine test

This commit is contained in:
Sahat Yalkabov
2013-12-06 20:17:14 -05:00
parent 06a616c00f
commit f86b9b7be4

9
test/mongodb.spec.js Normal file
View 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();
});
});
});