test/unit/timer_tests.rb in cap-util-1.4.0 vs test/unit/timer_tests.rb in cap-util-1.5.0

- old
+ new

@@ -1,15 +1,15 @@ require 'assert' require 'cap-util/timer' class CapUtil::Timer - class BaseTests < Assert::Context - desc "the Timer helper class" + class UnitTests < Assert::Context + desc "CapUtil::Timer" setup do @timer_util = CapUtil::Timer.new('a timer', :quiet) end - subject { @timer_util } + subject{ @timer_util } should have_readers :name, :start_time, :end_time, :elapsed_time should have_imeths :start, :end should have_cmeth :pretty_time