From df0b213691df2e187e196e6e741d0f31c9d94ef0 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Sat, 23 Jun 2018 08:18:41 +0200 Subject: [PATCH] Stablized tests: Delayed::Job entries added in previous tests cause failing tests. --- test/integration/monitoring_controller_test.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/integration/monitoring_controller_test.rb b/test/integration/monitoring_controller_test.rb index 68e291aad..703dc244c 100644 --- a/test/integration/monitoring_controller_test.rb +++ b/test/integration/monitoring_controller_test.rb @@ -75,6 +75,8 @@ class MonitoringControllerTest < ActionDispatch::IntegrationTest roles: roles, ) + # ensure fresh state + Delayed::Job.destroy_all end test '01 monitoring without token' do