From ea85eacc2cfc3e691343bb10fed8ab64200ff0b8 Mon Sep 17 00:00:00 2001 From: Hakan Ensari Date: Fri, 20 Dec 2024 19:45:41 +0100 Subject: [PATCH] Use minitest test task --- Rakefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index 9cfbd3b4..5e2722be 100644 --- a/Rakefile +++ b/Rakefile @@ -1,13 +1,13 @@ # frozen_string_literal: true require "bundler/gem_tasks" -require "rake/testtask" +require "minitest/test_task" require "rubocop/rake_task" require "yard" -Rake::TestTask.new do |t| +Minitest::TestTask.create do |t| t.libs << "test" - t.pattern = "test/**/*_test.rb" + t.test_globs = ["test/**/*_test.rb"] end RuboCop::RakeTask.new YARD::Rake::YardocTask.new