Browse files

tweaks to mock

  • Loading branch information...
1 parent a397ccd commit 53f4176fcae22c8fc54df64f671d33e43cfc57ee @pc-dedelhart pc-dedelhart committed Oct 3, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/Req_State/Mock.js
View
2 lib/Req_State/Mock.js
@@ -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'

0 comments on commit 53f4176

Please sign in to comment.