Permalink
Browse files

it's enough to pass just callback in to the fail

  • Loading branch information...
1 parent 6f4eeca commit beabcdb90c2c0c97bd1bbff42305444d17277442 @andriykuba committed Jan 14, 2014
Showing with 1 addition and 3 deletions.
  1. +1 −3 test/functional.js
View
@@ -307,9 +307,7 @@ describe('Debitoor', function(){
cb(null, customersMasked);
})
- .fail(function(err){
- cb(err);
- });
+ .fail(cb);
}
function checkImportedContactsEquals(res, cb){

0 comments on commit beabcdb

Please sign in to comment.