summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ext/capture_output.rb2
-rw-r--r--test/test_helper.rb2
2 files changed, 3 insertions, 1 deletions
diff --git a/test/ext/capture_output.rb b/test/ext/capture_output.rb
index 6fef849..a469e21 100644
--- a/test/ext/capture_output.rb
+++ b/test/ext/capture_output.rb
@@ -16,7 +16,7 @@ module CaptureOutput
@stdout.string
end
end
-class HCl::TestCase < MiniTest::Unit::TestCase
+class MiniTest::Unit::TestCase
include CaptureOutput
end
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 42a072c..9067d91 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -31,3 +31,5 @@ require 'fakeweb'
# require test extensions/helpers
Dir[File.dirname(__FILE__) + '/ext/*.rb'].each { |ext| require ext }
+class HCl::TestCase < MiniTest::Unit::TestCase; end
+