From 2c8c227493509175fcdbcba3e6a85f8b954a169e Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 15 Jan 2022 12:10:26 -0500 Subject: init --- test/test_helper.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test/test_helper.rb (limited to 'test/test_helper.rb') diff --git a/test/test_helper.rb b/test/test_helper.rb new file mode 100644 index 0000000..0c92e8e --- /dev/null +++ b/test/test_helper.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +ENV['RAILS_ENV'] ||= 'test' +require_relative '../config/environment' +require 'rails/test_help' + +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 -- cgit 1.4.1