Testing wrap_parameters from minitest

Don't know why I didn't think of this earlier but to test wrap_parameters from minitest, just set the content-type on the request like so:

@request.env['CONTENT_TYPE'] = 'application/json'

Then you can unwrap your parameters:

post :create, :name => "Test1"

Hope that maybe helps someone.

David