On Fri, Sep 14, 2012 at 11:20 AM, S Ahmed <sahmed1...@gmail.com> wrote:
> I tried adding this to my application.rb:
>
> config.generators do |g|
>   g.view_specs false
>   g.helper_specs false
> end

See "Customizing your workflow" on http://guides.rubyonrails.org/generators.html

According to that, you need to something like this, but I've never
tried it, so if it doesn't work please consult the rails mailing list
(although, do let us know whether it does).

config.generators do |g|
  g.test_framework :rspec, :view_specs => false, :helper_specs => false
end

HTH,
David

>
>
> But it didn't stop the generator from creating view/helper specs.
>
> What am I doing wrong?
>
> Also also tried doing this the configuration section:
>
> config.view_specs = false
> config.helper_specs = false
>
>
> But it didn't do anything.
>
> _______________________________________________
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to