Skip to content

Basic minitest rails functionality. #269

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
)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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