From 04bb92a10321708544e0f1732824194c93b6bfe9 Mon Sep 17 00:00:00 2001 From: Andrew Allen Date: Thu, 4 Sep 2014 17:24:28 -0700 Subject: [PATCH] added tests for runtime --- test/test_history.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_history.rb b/test/test_history.rb index e17b8e7..9dfd201 100644 --- a/test/test_history.rb +++ b/test/test_history.rb @@ -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