Fixed test.

This commit is contained in:
Martin Edenhofer 2017-01-10 01:25:57 +01:00
parent 626d8325ab
commit 7595df8338

View file

@ -375,6 +375,7 @@ class MonitoringControllerTest < ActionDispatch::IntegrationTest
assert_equal('Channel: Email::Notification out ;scheduler not running', result['message']) assert_equal('Channel: Email::Notification out ;scheduler not running', result['message'])
dir = "#{Rails.root}/tmp/unprocessable_mail" dir = "#{Rails.root}/tmp/unprocessable_mail"
FileUtils.mkdir_p(dir)
FileUtils.touch("#{dir}/test.eml") FileUtils.touch("#{dir}/test.eml")
# health_check # health_check