Skip to content

Commit

Permalink
Changed data model for Mongo and fixed error handling in API tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinson committed Jan 14, 2015
1 parent 3a7ef46 commit 74b7dbe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/npm-module
Submodule npm-module updated 1 files
+61 −36 lib/defs-mongo.js
2 changes: 1 addition & 1 deletion src/ruby-gem
Submodule ruby-gem updated 1 files
+53 −22 lib/defs-mongo.rb
4 changes: 2 additions & 2 deletions tests/api-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
// expected.
var data = temp.join('');
if (data !== obj.res.data) {
throw new Error('data mismatch (' +
data + ' !== ' + obj.res.data + ')');
return callback(new Error('data mismatch (' +
data + ' !== ' + obj.res.data + ')'));
}
callback(null);
return;
Expand Down

0 comments on commit 74b7dbe

Please sign in to comment.