On Tue, Feb 10, 2009 at 3:02 PM, Nathan Wilmes <nat...@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: joshknow...@gmail.com web: http://joshknowles.com _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users