[rspec-users] issues with the trunk of rspec-rails

Josh Knowles joshknowles at gmail.com
Wed Feb 11 00:15:44 EST 2009

On Tue, Feb 10, 2009 at 3:02 PM, Nathan Wilmes <nathan at pivotallabs.com> wrote:
> Hi folks,
> I'm currently in the process of upgrading an old Rails project to the Rails
> 2.2.2 and the trunk of RSpec, and ran into several issues with rspec-rails.
> I've come up with workarounds for all of them, but I wanted to report them
> to hopefully get them into better shape for other folks.
> (1) config.include doesn't work on controller, helper, or view specs if no
> :type parameter is required.

I ran into the same problem last night.  Modules which I was
includning via "config.include..." were only available to my model
spec and not to my controller specs.

Thanks for tracking this down!

Josh Knowles
phone: 509-979-1593
email:  joshknowles at gmail.com
web:    http://joshknowles.com

More information about the rspec-users mailing list