On 13 Nov 2007, at 22:17, David Chelimsky wrote:
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.
+1 for this one - would be great to be able to see the exceptions when
running the story. Thanks!
Chris
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users