Skip to content

Basic minitest rails functionality. #269

Open
@elorest

Description

@elorest

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
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions