[rspec-devel] RSpec stepping on Test::Unit?
Pat Maddox
pergesu at gmail.com
Fri Dec 8 16:12:18 EST 2006
On 12/8/06, David Chelimsky <dchelimsky at gmail.com> wrote:
> On 12/8/06, Lee Pope <leepope at gmail.com> wrote:
> > Hi all, and thanks for such a great tool!
>
> You're welcome.
>
> > I have some new functionality that I'm adding to an existing rails app. I
> > wanted to start migrating my tests to RSpec, so i installed the gem and
> > rails plugin (versions match).
> >
> > My specs all run, (very well, thank you), but my existing unit, funtional
> > and integration tests, while they seem to be running, produce no output.
>
> Go into vendor/plugins/rspec/init.rb and delete everything in there
> (leave it blank). That should solve the problem. I'm not sure yet what
> it is about rspec that's causing this to happen, but the init file is
> duplicating a require that happens in spec/spec_helper.rb, so it's not
> necessary.
>
> I'll be committing this a little later, so it will be part of the next release.
Doing that will load the RSpec environment in the development and
production environments though, which shouldn't happen.
Pat
More information about the rspec-devel
mailing list