[rspec-users] [Cucumber] Http Post just returns status code and not Response-object
felix.elliger at student.hpi.uni-potsdam.de
Fri Feb 13 07:16:19 EST 2009
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.
More information about the rspec-users