diff --git a/Gemfile b/Gemfile index d81896ae9d..92d687b72d 100644 --- a/Gemfile +++ b/Gemfile @@ -3,7 +3,7 @@ source "https://rubygems.org" gemspec -gem "minitest", ">= 5.15.0", "< 5.22.0" +gem "minitest", ">= 5.15.0" # We need a newish Rake since Active Job sets its test tasks' descriptions. gem "rake", ">= 13" diff --git a/Gemfile.lock b/Gemfile.lock index da5e1aa93c..a08e23b2e9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -93,7 +93,7 @@ PATH connection_pool (>= 2.2.5) drb i18n (>= 1.6, < 2) - minitest (>= 5.1, < 5.22.0) + minitest (>= 5.1) tzinfo (~> 2.0, >= 2.0.5) rails (8.0.0.alpha) actioncable (= 8.0.0.alpha) @@ -644,7 +644,7 @@ DEPENDENCIES libxml-ruby listen (~> 3.3) mdl (!= 0.13.0) - minitest (>= 5.15.0, < 5.22.0) + minitest (>= 5.15.0) minitest-bisect minitest-ci minitest-retry diff --git a/activesupport/activesupport.gemspec b/activesupport/activesupport.gemspec index 136a046568..17fb20f2a4 100644 --- a/activesupport/activesupport.gemspec +++ b/activesupport/activesupport.gemspec @@ -38,7 +38,7 @@ s.add_dependency "tzinfo", "~> 2.0", ">= 2.0.5" s.add_dependency "concurrent-ruby", "~> 1.0", ">= 1.0.2" s.add_dependency "connection_pool", ">= 2.2.5" - s.add_dependency "minitest", ">= 5.1", "< 5.22.0" + s.add_dependency "minitest", ">= 5.1" s.add_dependency "base64" s.add_dependency "drb" s.add_dependency "bigdecimal" diff --git a/railties/test/commands/test_test.rb b/railties/test/commands/test_test.rb index 42f1fa048b..c6306d4730 100644 --- a/railties/test/commands/test_test.rb +++ b/railties/test/commands/test_test.rb @@ -41,23 +41,23 @@ class Rails::Command::TestTest < ActiveSupport::TestCase test "test command with name option skips test:prepare task" do assert_skips_prepare_task do - run_test_command("test", "-n", "test_some_code") + run_test_command("test", "-n", "test_some_code", allow_failure: true) end assert_skips_prepare_task do - run_test_command("test", "-n", "/some_code/") + run_test_command("test", "-n", "/some_code/", allow_failure: true) end assert_skips_prepare_task do - run_test_command("test", "-n", "some code") + run_test_command("test", "-n", "some code", allow_failure: true) end assert_skips_prepare_task do - run_test_command("test", "--name", "test_some_code") + run_test_command("test", "--name", "test_some_code", allow_failure: true) end assert_skips_prepare_task do - run_test_command("test", "--name=test_some_code") + run_test_command("test", "--name=test_some_code", allow_failure: true) end end @@ -74,7 +74,7 @@ class Rails::Command::TestTest < ActiveSupport::TestCase test "test:all with name option skips test:prepare task" do assert_skips_prepare_task do - run_test_command("test:all", "-n", "test_some_code") + run_test_command("test:all", "-n", "test_some_code", allow_failure: true) end end @@ -86,7 +86,7 @@ class Rails::Command::TestTest < ActiveSupport::TestCase test "test:* with name option skips test:prepare task" do assert_skips_prepare_task do - run_test_command("test:models", "-n", "test_some_code") + run_test_command("test:models", "-n", "test_some_code", allow_failure: true) end end