Skip to content

Commit

Permalink
Merge pull request #2 from mmerkes/master
Browse files Browse the repository at this point in the history
Added support for pre method
  • Loading branch information
sebmartel committed Jun 6, 2014
2 parents 681f841 + cd7957e commit d8b3e5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ var Schema = function () {
Model.methods = {};
Model.static = sinon.stub();
Model.method = sinon.stub();
Model.pre = sinon.stub();

Model.path = function() {
return {
Expand Down

0 comments on commit d8b3e5f

Please sign in to comment.