lib/rubocop/cop/minitest/assert_output.rb in rubocop-minitest-0.11.1 vs lib/rubocop/cop/minitest/assert_output.rb in rubocop-minitest-0.12.0
- old
+ new
@@ -13,10 +13,10 @@
# assert_match expected, $stdout.read
#
# # good
# assert_output(expected) { puts object.method }
#
- class AssertOutput < Cop
+ class AssertOutput < Base
include MinitestExplorationHelpers
MSG = 'Use `assert_output` instead of mutating %<name>s.'
OUTPUT_GLOBAL_VARIABLES = %i[$stdout $stderr].freeze