From 353475da8d535f2904e68977c3dafa6bb3bb483a Mon Sep 17 00:00:00 2001 From: elijah Date: Mon, 30 Dec 2013 18:04:30 -0800 Subject: tests -- added tests to check that the right processes are running --- bin/run_tests | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin') diff --git a/bin/run_tests b/bin/run_tests index f4778988..a44fcdcf 100755 --- a/bin/run_tests +++ b/bin/run_tests @@ -249,6 +249,10 @@ class LeapTest < MiniTest::Unit::TestCase end end +def assert_running(process) + assert pgrep(process).any?, "No running process for #{process}" +end + # # Custom test runner in order to modify the output. # -- cgit v1.2.3