On Thu, Apr 3, 2008 at 8:03 AM, Rick DeNatale <[EMAIL PROTECTED]> wrote: > On Wed, Apr 2, 2008 at 7:09 PM, Tim Haines <[EMAIL PROTECTED]> wrote: > > > Hi'ya > > > > 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.. > > I can't help but think that this level would more properly be covered > by having good controller and view specs in addition to stories.
I can't help agreeing with you Rick. > > -- > Rick DeNatale > > My blog on Ruby > http://talklikeaduck.denhaven2.com/ > > > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users