lib/rubocop/minitest/assert_offense.rb in rubocop-minitest-0.28.0 vs lib/rubocop/minitest/assert_offense.rb in rubocop-minitest-0.29.0

- old
+ new

@@ -122,10 +122,10 @@ assert_equal(expected_annotations.to_s, actual_annotations.to_s) end def _investigate(cop, processed_source) - team = RuboCop::Cop::Team.new([cop], nil, raise_error: true) + team = RuboCop::Cop::Team.new([cop], configuration, raise_error: true) report = team.investigate(processed_source) @last_corrector = report.correctors.first || RuboCop::Cop::Corrector.new(processed_source) report.offenses end