From 7595df8338bfca8b460d56a375f07b5c4c4aced7 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 10 Jan 2017 01:25:57 +0100 Subject: [PATCH] Fixed test. --- test/controllers/monitoring_controller_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/controllers/monitoring_controller_test.rb b/test/controllers/monitoring_controller_test.rb index e1ac7fe63..7914b9522 100644 --- a/test/controllers/monitoring_controller_test.rb +++ b/test/controllers/monitoring_controller_test.rb @@ -375,6 +375,7 @@ class MonitoringControllerTest < ActionDispatch::IntegrationTest assert_equal('Channel: Email::Notification out ;scheduler not running', result['message']) dir = "#{Rails.root}/tmp/unprocessable_mail" + FileUtils.mkdir_p(dir) FileUtils.touch("#{dir}/test.eml") # health_check