Doug,
You might try using my branch at
http://github.com/robholland/capybara/tree/headers and see if post
then behaves as you expected. I had a very similar issue, so I wired
up get/post/delete/put into the capybara session for the rack driver
so they behave sensibly. Also note that if you're posting JSON you'll
want to pass { 'CONTENT_TYPE' => 'application/json' } for the env
argument to the post call so that the app knows to expect JSON data.
Cheers,
Rob
--
You received this message because you are subscribed to the Google Groups "Cukes" group.
To post to this group, send email to cu...@googlegroups.com.
To unsubscribe from this group, send email to cukes+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cukes?hl=en.