Skip to content

Commit

Permalink
remove brascets in test function
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanoff committed Aug 22, 2017
1 parent cd92558 commit 5afb33d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/14.models.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var DefaultRoutes = require('../routes/default');

function registerModel(name, model) {
app.models[name] = new DefaultModel(name, model, app._db);
app.models[name].get = function ({search: search}, next) {
app.models[name].get = function (search, next) {
next('error');
};

Expand Down

0 comments on commit 5afb33d

Please sign in to comment.