diff --git a/test/coverband/integrations/resque_worker_test.rb b/test/coverband/integrations/resque_worker_test.rb index a76a671f..fef8fe40 100644 --- a/test/coverband/integrations/resque_worker_test.rb +++ b/test/coverband/integrations/resque_worker_test.rb @@ -45,7 +45,7 @@ def setup assert_equal 1, report[Coverband::EAGER_TYPE][relative_job_file]["data"][6] else assert_equal 0, report[Coverband::EAGER_TYPE][relative_job_file]["data"][6] - assert_equal 1, report[Coverband::RUNTIME_TYPE][relative_job_file]["data"][6] + assert_equal 1, report[Coverband::RUNTIME_TYPE][relative_job_file]["data"][6] if report[Coverband::RUNTIME_TYPE] end end end