test/sysv_adapter_test.rb in localjob-0.3.0 vs test/sysv_adapter_test.rb in localjob-0.4.0
- old
+ new
@@ -18,6 +18,12 @@
def test_size
@localjob << "Hello World"
assert_equal 1, @localjob.size
end
+
+ def test_stats
+ @localjob << "Hello World"
+ assert_equal 20, @localjob.stats[:size]
+ assert_equal 1, @localjob.stats[:count]
+ end
end