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

Commit

Permalink
Testing Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amoshaviv committed Dec 3, 2013
1 parent 7354e78 commit f358e81
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions test/karma/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Karma configuration
// Generated on Sat Oct 05 2013 22:00:14 GMT+0700 (ICT)

module.exports = function (config) {
module.exports = function(config) {
config.set({

// base path, that will be used to resolve files and exclude
Expand Down Expand Up @@ -56,8 +56,8 @@ module.exports = function (config) {
},

coverageReporter: {
type : 'html',
dir : 'test/coverage/'
type: 'html',
dir: 'test/coverage/'
},

// web server port
Expand Down Expand Up @@ -96,4 +96,4 @@ module.exports = function (config) {
// if true, it capture browsers, run tests and exit
singleRun: false
});
};
};
4 changes: 2 additions & 2 deletions test/mocha/article/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ describe('<Unit Test>', function() {
User.remove({});
done();
});
after(function(done){
after(function(done) {
Article.remove().exec();
User.remove().exec();
done();
});
});
});
});

0 comments on commit f358e81

Please sign in to comment.