From f2915737c61854e69b57e388f4dbc36f1aee118d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 6 Sep 2013 22:15:52 +0000 Subject: test/*: compatibility class for both minitest 4 and 5 This is to avoid annoying deprecation warnings in minitest 5, while still preserving compatibility with minitest 4 (which is distributed in Ruby 2.0.0 and part of the standard library). --- test/test_rg_integration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_rg_integration.rb') diff --git a/test/test_rg_integration.rb b/test/test_rg_integration.rb index 5c570ad..d6a90b0 100644 --- a/test/test_rg_integration.rb +++ b/test/test_rg_integration.rb @@ -1,7 +1,7 @@ # Copyright (C) 2013, Eric Wong and all contributors # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt) require './test/player_integration' -class TestRgIntegration < Minitest::Unit::TestCase +class TestRgIntegration < Testcase include PlayerIntegration def tmp_pluck(len = 5) -- cgit v1.2.3-24-ge0c7