[Rspec-devel] RSpec on Rails and Rails Engines
dchelimsky at gmail.com
Sun Aug 27 10:48:54 EDT 2006
I'm just getting caught up w/ everything. Was this addressed in 0.6.1?
On 8/17/06, aslak hellesoy <aslak.hellesoy at gmail.com> wrote:
> On 8/17/06, Daniel Siemssen <daniel at dr-siemssen.de> wrote:
> > Why do you have the require lines for controller_mixin.rb and
> > rspec_on_rails.rb in your init.rb and not in the spec_helper.rb? When
> > these require lines are in the init.rb they cause errors for Rails
> > Engines users because rspec_on_rails.rb requires 'application'. Since
> > application might have some include lines like 'include myengine' and
> > since the rspec_on_rails plugin gets loaded before any engine, you'll
> > certainly run into troubles when loading your rails environment.
> > So, my question is, can you put these lines into spec_helper.rb and if
> > not please tell me why.
> It's been a month or two since I worked on this so my memory is a bit
> rusty on this. Do you have a patch that you would like us to
> > Keep up the good work!
> > Daniel
> > _______________________________________________
> > Rspec-devel mailing list
> > Rspec-devel at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/rspec-devel
> Rspec-devel mailing list
> Rspec-devel at rubyforge.org
More information about the Rspec-devel