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

David Chelimsky dchelimsky at gmail.com
Tue Nov 13 15:43:19 EST 2007


On Nov 13, 2007 2:23 PM, Josh Knowles <joshknowles at gmail.com> wrote:
> Has anyone noticed any problems with the Rails story runner returning
> a response code of "0" when doing get/post/etc methods?  I just
> grabbed the latest rails/rspec and just started noticing this problem,
> http://pastie.caboo.se/117497
>
> Regular controller specs pass as expected.

RailsStory just wraps ActionController::IntegrationTest, so you're
getting what you would get from an IntegrationTest.

Controller examples override rescue_action for you, but RailsStory
does not yet. I suppose we should add that.

>
>
>
>
> --
> Josh Knowles
> phone: 509-979-1593
> email:  joshknowles at gmail.com
> web:    http://joshknowles.com
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list