diff options
| author | Zack Hobson | 2013-12-27 08:49:19 -0800 |
|---|---|---|
| committer | Zack Hobson | 2013-12-27 08:49:19 -0800 |
| commit | a566d439ca11ebb6123ab34cc8a8d10e0528a62a (patch) | |
| tree | 2d6aa460fcda426902c653f1758922ec532eb96e | |
| parent | 72cca121915b150d093887891f5118808803f704 (diff) | |
| download | hcl-a566d439ca11ebb6123ab34cc8a8d10e0528a62a.tar.bz2 | |
minitest api change
| -rw-r--r-- | test/ext/capture_output.rb | 2 | ||||
| -rw-r--r-- | test/test_helper.rb | 2 |
2 files changed, 2 insertions, 2 deletions
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 \ |
