Hi,

I'm really new to cucumber-testing. I want to use an HTTP Post in my step-definitions using the post-method.
When I execute

   response = post '/controller/action'

response is of type Fixnum and contains only the status code returned by the post. In rspec it returns an HTTPResponse-instance.

Why is it different? I really need the body of the response.

Hope somebody can help me.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to