POST parameters incorrectly appended to REQUEST_URI

My rspec controller tests are appending POST params to the request_uri
as though they are GET variables.

So this line:

post :create, :foo => ‘bar’

Generates a request_uri that looks like this:


However when performing the same action from the actual application, the
params are not appended to the request_uri (as expected).

Looks like this issue has been raised elsewhere, and by the sounds of
it, this is an issue with rails functional tests.

Yet I haven’t found a solution / workaround to the problem. Has anyone
else experienced issues with this?