I agree that keeping its generators would be good in the majority case.
On the other hand, Im trying to build a base-app so I can start many
projects based on that, some of these projects will be teaching new people
how rails works and the concepts. And at this point, my company uses rspec,
but new people keeps trying to use test_unit, since this is a very known
name.
Is there a way I can remove those generators ??
Would worth doing a patch on Rails to add an extra option to not add those
generators ?
I can work on that, if needed.
Regards,
Everton Moreth
On Thu, May 26, 2011 at 5:23 PM, Ryan Bigg <radarlistener@gmail.com>
wrote:
> Yes, it turns off test unit generators for your controllers and models but
> you can still access them through those helpers if you wish.
>
>
>
> On 27/05/2011, at 4:09, EMoreth <everton.moreth@gmail.com> wrote:
>
> > When creating a new rails project (3.1.0.rc1) with no test unit
> > options, it still create test unit rake tasks.
> >
> > rails new my_project --skip-test-unit
> >
> >
> > rails g :
> >
> >
> > TestUnit:
> > test_unit:controller
> > test_unit:helper
> > test_unit:integration
> > test_unit:mailer
> > test_unit:model
> > test_unit:observer
> > test_unit:performance
> > test_unit:plugin
> > test_unit:scaffold
> >
> >
> > Is this correct ??
> >
> > --
> > You received this message because you are subscribed to the Google
Groups
> "Ruby on Rails: Core" group.
> > To post to this group, send email to
rubyonrails-core@googlegroups.com.
> > To unsubscribe from this group, send email to
> rubyonrails-core+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> http://groups.google.com/group/rubyonrails-core?hl=en.
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Core" group.
> To post to this group, send email to rubyonrails-core@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-core+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-core?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-core+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en.