Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> This commit refactors the entire application to replace the 'parties' concept with 'events'. All controllers, models, views, and related files have been updated to reflect this change. The parties table has been replaced with an events table, and all related functionality has been updated accordingly.
21 lines
653 B
Ruby
Executable File
21 lines
653 B
Ruby
Executable File
ENV["RAILS_ENV"] ||= "test"
|
|
require_relative "../config/environment"
|
|
require "rails/test_help"
|
|
require "minitest/reporters"
|
|
|
|
Minitest::Reporters.use!
|
|
# Minitest::Reporters.use!(Minitest::Reporters::SpecReporter.new, color: true)
|
|
# Minitest::Reporters.use! [ Minitest::Reporters::SpecReporter.new, Minitest::Reporters::JUnitReporter.new ]
|
|
|
|
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
|
|
|
|
# Add more helper methods to be used by all tests here...
|
|
end
|
|
end
|