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