[rspec-users] Hiding test_unit Generators ?

Arco akleak at gmail.com
Tue Jul 13 21:49:02 EDT 2010


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.

tx, Andy


More information about the rspec-users mailing list