My google foo is failing me: Is there a simple way to change the log level to debug when running just a single test in Rails (using line number suffix rails test test/test_file.rb:15) and keep it at info when running the entire suite via rails test?
I am using minitest (rather than Rspec).
Currently, I put the following at the top of the test when debugging a failure:
Rails.logger.level = 0 # Print at debug level