Comparing version 0.1.10 to 0.1.11
@@ -48,7 +48,6 @@ /* | ||
try{ | ||
assert.deepEqual(actual, expected); | ||
}catch(err){ | ||
found = false; | ||
assert.deepEqual(actual, expected); | ||
found = true; | ||
break; | ||
} | ||
}catch(err){ } | ||
} | ||
@@ -55,0 +54,0 @@ results.push(found); |
{ | ||
"name": "deride", | ||
"description": "Mocking library based on composition", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"homepage": "https://github.com/REAANDREW/deride", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -61,2 +61,9 @@ /* | ||
}); | ||
it('handles comparison of withArgs when an argument is a function', function(done) { | ||
var obj = deride.stub(['send']); | ||
obj.send({a:1}, function(){}); | ||
obj.expect.send.called.withArgs({a:1}); | ||
done(); | ||
}); | ||
}); | ||
@@ -63,0 +70,0 @@ |
35021
666