[rspec-users] rails story runner returning a nil response code
dchelimsky at gmail.com
Tue Nov 13 17:17:59 EST 2007
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.
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users