test_helper.rb 410 B

123456789101112131415
  1. ENV["RAILS_ENV"] ||= "test"
  2. require_relative "../config/environment"
  3. require "rails/test_help"
  4. module ActiveSupport
  5. class TestCase
  6. # Run tests in parallel with specified workers
  7. parallelize(workers: :number_of_processors)
  8. # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
  9. fixtures :all
  10. # Add more helper methods to be used by all tests here...
  11. end
  12. end