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

Basic minitest rails functionality. #269

Open
elorest opened this issue Apr 21, 2017 · 0 comments
Open

Basic minitest rails functionality. #269

elorest opened this issue Apr 21, 2017 · 0 comments

Comments

@elorest
Copy link

elorest commented Apr 21, 2017

In my template to get minitest working I'm just doing these 2 steps.

Add this to my gemfile:

gem_group :development, :test do
  gem 'minitest'
  gem 'minitest-rails'
end

Add this to my application.rb to turn on specs and disable helper tests being created by scaffolding.

application %Q(
  config.generators do |g|
    g.test_framework :minitest, spec: true, fixture: true
    g.helper false
    g.view_specs false
  end
)
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

1 participant