Skip to content

Commit 97cc321

Browse files
committed
Point to the right executable when warning about --profile
1 parent 7ee34d9 commit 97cc321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

railties/lib/minitest/rails_plugin.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def self.plugin_rails_options(opts, options)
9494
if count.nil?
9595
warn("Non integer specified as profile count, separate " \
9696
"your path from options with -- e.g. " \
97-
"`bin/test --profile -- #{value}`")
97+
"`#{::Rails::TestUnitReporter.executable} --profile -- #{value}`")
9898
count = default_count
9999
end
100100
end

0 commit comments

Comments
 (0)