Skip to content

Commit 60bb510

Browse files
Release 0.4.0
1 parent 6f7cc73 commit 60bb510

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

History.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11

2+
0.4.0 / 2012-10-09
3+
==================
4+
5+
* Merge pull request #5 from tregusti/feature/return-value
6+
* Make spies have a return value.
7+
* credit where due
8+
29
0.3.0 / 2012-07-11
310
==================
411

chai-spies.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
var args = Array.prototype.slice.call(arguments);
7474
proxy.__spy.calls.push(args);
7575
proxy.__spy.called = true;
76-
fn.apply(this, args);
76+
return fn.apply(this, args);
7777
});
7878

7979
proxy.prototype = fn.prototype;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"author": "Jake Luer <jake@alogicalparadox.com> (http://alogicalparadox.com)",
33
"name": "chai-spies",
44
"description": "Spies for the Chai assertion library.",
5-
"version": "0.3.0",
5+
"version": "0.4.0",
66
"repository": {
77
"type": "git",
88
"url": "git://github.com/logicalparadox/chai-spies.git"

0 commit comments

Comments
 (0)