Skip to content

Commit

Permalink
tweaks to mock
Browse files Browse the repository at this point in the history
  • Loading branch information
pc-dedelhart committed Oct 3, 2012
1 parent a397ccd commit 53f4176
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Req_State/Mock.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ var _DEBUG = false;
function Req_State_Mock(action, props) {
var NE = require('./../index');

if (_DEBUG) console.log('mock req state props: %s', util.inspect(props));

this.action = action;
this.req_props = props.req_props ? props.req_props : {};
this._method = props.method ? props.method : 'get'
Expand Down

0 comments on commit 53f4176

Please sign in to comment.