test/progressbar_test.rb in collimator-0.0.2 vs test/progressbar_test.rb in collimator-0.0.3
- old
+ new
@@ -1,12 +1,7 @@
-require 'test_helper'
+require_relative 'test_helper'
-class TestProgressBar < Test::Unit::TestCase
- include Collimator
-
- def teardown
- $stdout = STDOUT
- end
+class TestProgressBar < Minitest::Test
def test_progress
out = capture_output do
ProgressBar.start({:min => 0, :max => 100, :method => :percent, :step_size => 1})
end
\ No newline at end of file