Skip to content

Commit

Permalink
Switch from minitest-rg to minitest-reporters
Browse files Browse the repository at this point in the history
  • Loading branch information
rmm5t committed Sep 17, 2023
1 parent c911f55 commit a827dc1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion business_time.gemspec
Expand Up @@ -19,5 +19,5 @@ Gem::Specification.new do |s|
s.add_development_dependency "rake"
s.add_development_dependency "rdoc"
s.add_development_dependency "minitest"
s.add_development_dependency "minitest-rg"
s.add_development_dependency "minitest-reporters"
end
9 changes: 7 additions & 2 deletions test/helper.rb
@@ -1,5 +1,10 @@
require 'minitest/autorun'
require 'minitest/rg'
require 'minitest/reporters'
if ENV["CI"] == "true"
Minitest::Reporters.use! Minitest::Reporters::DefaultReporter.new
else
Minitest::Reporters.use! Minitest::Reporters::ProgressReporter.new
end

if ENV["COV"]
require 'simplecov'
Expand All @@ -8,7 +13,7 @@

require 'business_time'

MiniTest::Spec.class_eval do
Minitest::Spec.class_eval do
after do
BusinessTime::Config.send(:reset)
Time.zone = nil
Expand Down

0 comments on commit a827dc1

Please sign in to comment.