Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fullstack // Controller generator #45

Open
1 of 2 tasks
roman-dubrovsky opened this issue Feb 8, 2017 · 1 comment
Open
1 of 2 tasks

Fullstack // Controller generator #45

roman-dubrovsky opened this issue Feb 8, 2017 · 1 comment

Comments

@roman-dubrovsky
Copy link

roman-dubrovsky commented Feb 8, 2017

When I generate controller using command rails g controller ...

  • I don't want to generate assets file and helpers

Use for it this code in config/application.rb

    config.generators do |g|
      g.stylesheets = false
      g.javascripts = false
      g.helper = false
      g.test_framework :rspec
    end
  • I want to see request test instead of controllers spec
@roman-dubrovsky roman-dubrovsky changed the title Fullstrak // Controller generator Fullstack // Controller generator Feb 8, 2017
@MProG
Copy link

MProG commented Feb 14, 2017

@roman-dubrovsky So what's stopping you to write them?(request spec)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants