Re: [rspec-users] setting request.raw_post with rspec-rails

2008-07-10 Thread Francis Hwang
Yup, that's exactly what I needed -- thanks, Francis Hwang http://fhwang.net/ On Jul 9, 2008, at 9:53 PM, David Chelimsky wrote: On Jul 9, 2008, at 5:36 PM, Francis Hwang wrote: ... is there a way to do this? We have some REST-ish POSTs we'd like to spec out. In the controller this gets a

Re: [rspec-users] setting request.raw_post with rspec-rails

2008-07-09 Thread David Chelimsky
On Jul 9, 2008, at 5:36 PM, Francis Hwang wrote: ... is there a way to do this? We have some REST-ish POSTs we'd like to spec out. In the controller this gets accessed with request.raw_post.to_s, is there a way to set this with rspec? If you mean you want to set it in an example before the

[rspec-users] setting request.raw_post with rspec-rails

2008-07-09 Thread Francis Hwang
... is there a way to do this? We have some REST-ish POSTs we'd like to spec out. In the controller this gets accessed with request.raw_post.to_s, is there a way to set this with rspec? Thanks as always, Francis ___ rspec-users mailing list rspec-u