lib/rantly/minitest_extensions.rb in rantly-2.0.0 vs lib/rantly/minitest_extensions.rb in rantly-3.0.0
- old
+ new
@@ -1,6 +1,7 @@
require 'minitest'
require 'rantly/property'
+require "minitest/unit" unless defined?(MiniTest)
test_class = if defined?(MiniTest::Test)
MiniTest::Test
else
MiniTest::Unit::TestCase