Skip to content

Commit

Permalink
[test] Add data property to MonitorMock
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalecki committed Dec 9, 2011
1 parent 748380b commit e248716
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/helpers/mocks/monitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,10 @@ var MonitorMock = exports.MonitorMock = function (options) {
};
util.inherits(MonitorMock, broadway.App);

MonitorMock.prototype.__defineGetter__('data', function () {
return {
uid: '_uid',
command: 'node'
}
});

0 comments on commit e248716

Please sign in to comment.