tests/usage_test.rb in cpu-0.0.4 vs tests/usage_test.rb in cpu-0.0.6
- old
+ new
@@ -1,10 +1,9 @@
-require 'test/unit'
-require 'mocha'
+require 'test_helper'
require 'cpu'
module CPU
- class UsageTest < Test::Unit::TestCase
+ class UsageTest < Minitest::Test
def test_sum_usage
@processor = CPU.sum_usage_processor 1
assert_kind_of Processor, @processor
assert_operator @processor.usage.percentage, :>, 0
end