Re: [rspec-users] [Cucumber] Http Post just returns status code and not Response-object

2009-02-13 Thread Felix Elliger
aslak hellesoy schrieb: On Fri, Feb 13, 2009 at 1:16 PM, Felix Elliger wrote: 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' I'm guessing y

[rspec-users] [Cucumber] Http Post just returns status code and not Response-object

2009-02-13 Thread Felix Elliger
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-insta