sample_rails_tailwind/test/test_helper.rb

19 lines
494 B
Ruby
Raw Normal View History

2024-12-29 17:12:54 +08:00
ENV["RAILS_ENV"] ||= "test"
require_relative "../config/environment"
require "rails/test_help"
2024-12-30 00:09:54 +08:00
require "minitest/reporters"
Minitest::Reporters.use!
2024-12-29 17:12:54 +08:00
module ActiveSupport
class TestCase
# Run tests in parallel with specified workers
parallelize(workers: :number_of_processors)
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
fixtures :all
include ApplicationHelper
2024-12-29 17:12:54 +08:00
# Add more helper methods to be used by all tests here...
end
end