Sha256: 3c0e6a789d4618b1473df3ba509e15d211a6252ac38efed7600c49e9db20319d
Contents?: true
Size: 603 Bytes
Versions: 13
Compression:
Stored size: 603 Bytes
Contents
if defined?(Rake.application) && Rake.application.top_level_tasks.grep(/^test(?::|$)/).any? ENV["RAILS_ENV"] ||= "test" end require "rails" module Minitest module Rails class Railtie < ::Rails::Railtie config.app_generators do |c| c.test_framework :minitest, fixture: true, fixture_replacement: nil c.integration_tool :minitest c.fallbacks[:minitest] = :test_unit end rake_tasks do load "rails/test_unit/testing.rake" unless Rake::Task.task_defined? "test:run" end end end end
Version data entries
13 entries across 13 versions & 1 rubygems