Skip to content

Commit

Permalink
Correctly inherit from Minitest::Test (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
josefarias authored Jan 7, 2025
1 parent b823d54 commit f034d28
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions test/helpers/local_time_helper_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@
require_relative "../../app/helpers/local_time_helper"

require "minitest/autorun"
begin
# 2.0.0
class TestCase < MiniTest::Test; end
rescue NameError
# 1.9.3
class TestCase < MiniTest::Unit::TestCase; end
end
class TestCase < Minitest::Test; end

I18n.enforce_available_locales = false

Expand Down

0 comments on commit f034d28

Please sign in to comment.