[rspec-users] Hiding test_unit Generators ?
David Chelimsky
dchelimsky at gmail.com
Wed Jul 14 08:45:02 EDT 2010
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