Merge pull request #1753 from basecamp/flavorjones/fix-test-arguments

Restore the ability to pass arguments to `bin/rails test`
This commit is contained in:
Mike Dalessio
2025-11-28 15:09:49 -05:00
committed by GitHub
+5 -1
View File
@@ -8,4 +8,8 @@ require_relative "../config/boot"
require "rails/commands"
Fizzy::Saas.append_test_paths if Fizzy.saas? && Rails.env.test?
if Fizzy.saas? && ENV["RAILS_ENV"] == "test"
# the app is not loaded by rails/commands if there are additional arguments to "rails test"
require APP_PATH
Fizzy::Saas.append_test_paths
end