[rspec-users] Hiding Test-Unit Generators ??

Arco akleak at gmail.com
Tue Nov 2 23:59:48 EDT 2010


Just curious if this was ever fixed??

On Jul 13, 2010, at 8:49 PM, Arco wrote:

> In a recent blog post, David wrote:

> Because RSpec is the test framework of record, Rails doesn’t know to
> hide the test_unit generators. If you want to hide them, just add this
> to one of your config files:

>    Rails::Generators.hide_namespace("test_unit")

> Where exactly should this statement go??  I tried a number of
> alternatives and wasn't able to make it work.

Turns out this doesn't work as expected. I filed
http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/5111
and am told it will be addressed in Rails proper.

I'll update the blog post when I have more solid information.

Sorry for the confusion.

Cheers,
David


More information about the rspec-users mailing list