1
0
Fork 0
mirror of https://github.com/endofunky/sidetiq.git synced 2022-11-09 13:53:30 -05:00

added tests for runtime

This commit is contained in:
Andrew Allen 2014-09-04 17:24:28 -07:00
parent 5a25e45bce
commit 04bb92a103

View file

@ -23,6 +23,7 @@ class TestHistory < Sidetiq::TestCase
refute_empty actual[:node]
refute_empty actual[:timestamp]
assert actual[:runtime] > 0
end
def test_failure
@ -47,6 +48,7 @@ class TestHistory < Sidetiq::TestCase
refute_empty actual[:node]
refute_empty actual[:timestamp]
assert actual[:runtime] > 0
end
def middlewared