Skip to content

Commit

Permalink
mock db.medic.attachment better to fix tests. Issue #1844
Browse files Browse the repository at this point in the history
  • Loading branch information
Milan Andric committed Feb 4, 2016
1 parent beb2a7c commit d055132
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion db-nano.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ if (couchUrl) {
sanitizeResponse: sanitizeResponse,
medic: {
view: function() {},
attachment: {},
attachment: {
get: function() {}
},
get: function() {},
insert: function() {},
updateWithHandler: function() {}
Expand Down

0 comments on commit d055132

Please sign in to comment.