Point to the right executable when warning about --profile

This commit is contained in:
Rafael Mendonça França 2024-05-23 16:19:53 +00:00
parent 7ee34d9efb
commit 97cc321280
No known key found for this signature in database
GPG Key ID: FC23B6D0F1EEE948

@ -94,7 +94,7 @@ def self.plugin_rails_options(opts, options)
if count.nil?
warn("Non integer specified as profile count, separate " \
"your path from options with -- e.g. " \
"`bin/test --profile -- #{value}`")
"`#{::Rails::TestUnitReporter.executable} --profile -- #{value}`")
count = default_count
end
end