Joined March 2013
·

Mike Robinson

Senior Web Developer at Globacore
·
Toronto
·
·
·

Posted to jQuery chain testing with sinonJS over 1 year ago

Thanks for this! Saved me a big headache when I switched my Express response calls from the deprecated res.json(status, body) calls to the new res.status(status).json(body) format. Cheers!

@myserioushunt sorry I just saw this comment. Not sure how long you've been waiting for an answer. I would approach it from a standpoint of having two separate git remotes on the same server. So you could have myrepo-production.git and myrepo-develop.git. Alter the paths in the post receive hook for each remote accordingly. Then you would be able to git push production mybranch and git push develop mybranch.

Achievements
219 Karma
0 Followers
16,548 Total ProTip Views