From a566d439ca11ebb6123ab34cc8a8d10e0528a62a Mon Sep 17 00:00:00 2001 From: Zack Hobson Date: Fri, 27 Dec 2013 08:49:19 -0800 Subject: minitest api change --- test/ext/capture_output.rb | 2 +- test/test_helper.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/ext/capture_output.rb b/test/ext/capture_output.rb index a469e21..ee98808 100644 --- a/test/ext/capture_output.rb +++ b/test/ext/capture_output.rb @@ -16,7 +16,7 @@ module CaptureOutput @stdout.string end end -class MiniTest::Unit::TestCase +class MiniTest::Test include CaptureOutput end diff --git a/test/test_helper.rb b/test/test_helper.rb index 47d3517..f091451 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -27,7 +27,7 @@ require 'fakeweb' # require test extensions/helpers Dir[File.dirname(__FILE__) + '/ext/*.rb'].each { |ext| require ext } -class HCl::TestCase < MiniTest::Unit::TestCase +class HCl::TestCase < MiniTest::Test def setup FakeWeb.allow_net_connect = false HCl::Net.configure \ -- cgit v1.2.3