Hiding Test-Unit Generators?

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 doesnt 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

On Nov 2, 2010, at 10:59 PM, Arco wrote:

Just curious if this was ever fixed??

The rails ticket (linked below) says it is still open. If you want to
stay informed about it, just go to the ticket and click “Watch Ticket”.
You’ll get an email any time it is updated.

Cheers,
David

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