[rspec-users] newb q: Can story steps report a view rendering error?

Tim Haines tmhaines at gmail.com
Wed Apr 2 19:09:05 EDT 2008


I have a When step that calls get game_url.  It turns out that calling this
page is resulting in a render error, which explains my failing Then steps.
It would help me if the story told me there was a problem rendering the
response.  Is there any way to get the story steps to automatically raise an
error if such a problem occurs?

For now I can add response.code.should == "200" or something similar..

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20080403/8e40cd9f/attachment.html 

More information about the rspec-users mailing list