From 6a6075af01331ea1523acfe4cb3ab5fe2a81e908 Mon Sep 17 00:00:00 2001 From: Nicholas Lee Date: Wed, 9 Aug 2023 15:52:56 -0700 Subject: [PATCH] Fix minitest deprecation --- .ruby-version | 2 +- Gemfile | 2 +- test/test_helper.rb | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.ruby-version b/.ruby-version index 872e120..72b3400 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -ruby-3.1.0 +ruby-3.2.1 diff --git a/Gemfile b/Gemfile index f5e9406..9badd1a 100644 --- a/Gemfile +++ b/Gemfile @@ -4,7 +4,7 @@ source 'https://rubygems.org' # global source source 'https://rubygems.pkg.github.com/appfolio' # global source source 'https://rubygems.org' do - gem 'minitest', '>= 5.18', '< 6' + gem 'minitest', '>= 5.19', '< 6' gem 'minitest-reporters', '>= 1.6', '< 2' gem 'simplecov', '>= 0.22', '< 1', group: :test, require: false end diff --git a/test/test_helper.rb b/test/test_helper.rb index e3043f8..9196a98 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -23,4 +23,5 @@ require 'minitest/autorun' require 'minitest/reporters' -MiniTest::Reporters.use! unless ENV['RM_INFO'] +Minitest::Test.make_my_diffs_pretty! +Minitest::Reporters.use! unless ENV['RM_INFO']