2024-07-15 14:31:54 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
2024-09-05 22:54:38 +02:00
|
|
|
ENV["RAILS_ENV"] ||= "test"
|
|
|
|
|
require_relative "../config/environment"
|
|
|
|
|
require "rails/test_help"
|
|
|
|
|
require "action_text/system_test_helper"
|
2024-07-15 02:19:27 +02:00
|
|
|
|
|
|
|
|
module ActiveSupport
|
|
|
|
|
class TestCase
|
2024-07-23 01:06:45 +02:00
|
|
|
include ActionText::SystemTestHelper
|
2024-07-15 02:19:27 +02:00
|
|
|
# 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
|
|
|
|
|
|
|
|
|
|
# Add more helper methods to be used by all tests here...
|
|
|
|
|
end
|
|
|
|
|
end
|