Autorun?

Hello all.
I believe I was under the impression that with rspec 2, one didn’t
need to require ‘autorun’ to have specs autorun.
Can anybody tell me if this is the case or not?
Thanks!
-roger-

On May 24, 2011, at 2:28 PM, rogerdpack wrote:

Hello all.
I believe I was under the impression that with rspec 2, one didn’t
need to require ‘autorun’ to have specs autorun.
Can anybody tell me if this is the case or not?
Thanks!
-roger-

If you run using rspec, rake (e.g. RSpec::Core::RakeTask), or rcov, then
you don’t. If you’re running it with ruby, then you do.

This changed in 2.6, and I’d be willing to change it back (as it
represents a regression in a minor release), but I’d prefer not to.

Thoughts?

David

This changed in 2.6, and I’d be willing to change it back (as it represents a
regression in a minor release), but I’d prefer not to.

It did bite me, but I almost like the explicitness more…

-roger-

I am running rspec2 with a rails 3 app no autorun required.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs