test/dibber/process_log_test.rb in dibber-0.2.2 vs test/dibber/process_log_test.rb in dibber-0.3.0
- old
+ new
@@ -42,7 +42,13 @@
def test_report_with_no_finish
@process_log.start(:no_finish, '1')
expected = ['No finish was 1, now 1.']
assert_equal(expected, @process_log.report)
end
+
+ def test_exists_method
+ assert !@process_log.exists?(:one), "There should not be a log for :one yet"
+ test_one
+ assert @process_log.exists?(:one), "There should be log for :one"
+ end
end
end