Skip to content

Commit

Permalink
Point to the right executable when warning about --profile
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed May 23, 2024
1 parent 8af5082 commit e8f83cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/minitest/rails_plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e8f83cd

Please sign in to comment.