weavejester/ring-mock — pull request #8 by glenjamin (2013-05-14 08:22:04+00:00)
Title: Fix for specifying querystring without extra params

The bug was introduced in the move to ring-codec as the nil behaviour differed in form-encode

I've added a failing testcase, and then a simple fix to restore the falsy behaviour of ring-mock's encode-params.

I'm unsure whether I think codec/form-encode should blow up like it does or just return nil when passed nil, but I think it's probably ok.