Hi – I have a hacky work-around for this, but wondered if anyone could
tell
me the canonical way of sending the get/put/etc. portion of a spec with
format information.I guess with something that might look like this:
On Sat, Feb 7, 2009 at 5:16 AM, doug livesey [email protected] wrote:
Hi – I have a hacky work-around for this, but wondered if anyone could tell
me the canonical way of sending the get/put/etc. portion of a spec with
format information.
This is what is in the specs generated by rspec-rails:
request.env[“HTTP_ACCEPT”] = “application/xml”
get :index