On Nov 13, 2007 4:02 PM, Josh Knowles <[EMAIL PROTECTED]> wrote:
> On 11/13/07, David Chelimsky <[EMAIL PROTECTED]> 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.

Cool?

Thanks man.

Cheers,
David

>
> _______________________________________________
> rspec-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/rspec-users
>
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to