[rspec-users] rails story runner returning a nil response code

Chris Parsons chris at edendevelopment.co.uk
Tue Nov 13 17:30:25 EST 2007

On 13 Nov 2007, at 22:17, David Chelimsky wrote:

> On Nov 13, 2007 4:02 PM, Josh Knowles <joshknowles at gmail.com> wrote:
>> On 11/13/07, David Chelimsky <dchelimsky at gmail.com> wrote:
>>> No worries - what do you think about treating controllers the same  
>>> way
>>> in stories that we do in controller examples?
>> I think that makes sense.  Currently you have to view the test.log
>> file to see the exceptions, I'd like to see these re-raised.
>> I can patch tonight if you're in agreement.
> That would be awesome. Take a look at how it's done in the spec/dsl
> dir. There's a file that monkey patches AR::Base so the default
> behaviour is that you'll see the failures, but if you decide to
> override rescue_action on your own, you get that instead.

+1 for this one - would be great to be able to see the exceptions when  
running the story. Thanks!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20071113/557e2cd2/attachment.html 

More information about the rspec-users mailing list