caolan/couchr — pull request #6 by wombleton (2012-10-25 20:10:39+00:00)
Title: Guard against null being explicitly passed to opt

If opt is falsey, initialise it to an empty object. This allows the tests later on to work without NPEing.