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:
parent
5a25e45bce
commit
04bb92a103
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,7 @@ class TestHistory < Sidetiq::TestCase
|
||||||
|
|
||||||
refute_empty actual[:node]
|
refute_empty actual[:node]
|
||||||
refute_empty actual[:timestamp]
|
refute_empty actual[:timestamp]
|
||||||
|
assert actual[:runtime] > 0
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_failure
|
def test_failure
|
||||||
|
@ -47,6 +48,7 @@ class TestHistory < Sidetiq::TestCase
|
||||||
|
|
||||||
refute_empty actual[:node]
|
refute_empty actual[:node]
|
||||||
refute_empty actual[:timestamp]
|
refute_empty actual[:timestamp]
|
||||||
|
assert actual[:runtime] > 0
|
||||||
end
|
end
|
||||||
|
|
||||||
def middlewared
|
def middlewared
|
||||||
|
|
Loading…
Reference in a new issue