rails-composer icon indicating copy to clipboard operation
rails-composer copied to clipboard

Basic minitest rails functionality.

Open elorest opened this issue 7 years ago • 0 comments

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
)

elorest avatar Apr 21 '17 17:04 elorest