Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Replaced dependency on server.js for mocha tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
mackstar committed Dec 29, 2013
1 parent 963794a commit cf7a3f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/mocha/article/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* Module dependencies.
*/
var should = require('should'),
app = require('../../../server'),
mongoose = require('mongoose'),
User = mongoose.model('User'),
Article = mongoose.model('Article');
Expand Down
1 change: 1 addition & 0 deletions test/mocha/user/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* Module dependencies.
*/
var should = require('should'),
app = require('../../../server'),
mongoose = require('mongoose'),
User = mongoose.model('User');

Expand Down

0 comments on commit cf7a3f0

Please sign in to comment.