diff --git a/CHANGELOG.md b/CHANGELOG.md index 5215590d..81610dbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # main [(unreleased)](https://github.com/whitesmith/rubycritic/compare/v4.8.1...main) +* [BUGFIX] Stop using long-deprecated MiniTest module name, removed in 5.19.0 (by [@faisal][]) + # v4.8.1 / 2023-05-17 [(commits)](https://github.com/whitesmith/rubycritic/compare/v4.8.0...v4.8.1) * [CHANGE] Update runtime dependencies to current versions of analysis gems (by [@faisal][]) diff --git a/features/support/env.rb b/features/support/env.rb index f4e5ca1f..70eafd31 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -10,7 +10,7 @@ # Provides runner methods used in the cucumber steps. # class RubyCriticWorld - extend MiniTest::Assertions + extend Minitest::Assertions attr_accessor :assertions def initialize diff --git a/rubycritic.gemspec b/rubycritic.gemspec index 6567abfb..b0ab1287 100644 --- a/rubycritic.gemspec +++ b/rubycritic.gemspec @@ -54,7 +54,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'mdl', '~> 0.12.0' spec.add_development_dependency 'minitest', '>= 5.3.0' spec.add_development_dependency 'minitest-around', '~> 0.5.0', '>= 0.4.0' - spec.add_development_dependency 'mocha', '~> 2.0.2' + spec.add_development_dependency 'mocha', '~> 2.1.0' spec.add_development_dependency 'rake', '~> 13.0.6', '>= 11.0.0' spec.add_development_dependency 'rexml', '>= 3.2.0' spec.add_development_dependency 'rubocop', '~> 1.51.0' diff --git a/test/test_helper.rb b/test/test_helper.rb index 501c8c8f..c92b23b5 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -54,7 +54,7 @@ def project_path end end -module MiniTest +module Minitest module Assertions ## # Fails unless exp and act are both arrays and @@ -77,7 +77,7 @@ def assert_matched_arrays(exp, act) module Expectations ## - # See MiniTest::Assertions#assert_matched_arrays + # See Minitest::Assertions#assert_matched_arrays # # [1,2,3].must_match_array [3,2,1] #