diff --git a/test/unit/email_helper_test.rb b/test/unit/email_helper_test.rb index a06b96434..3ec4b687d 100644 --- a/test/unit/email_helper_test.rb +++ b/test/unit/email_helper_test.rb @@ -180,7 +180,7 @@ class EmailHelperTest < ActiveSupport::TestCase } ) assert_equal('invalid', result[:result]) - assert_match(/Host not reachable|Host not reachable/, result[:message_human]) + assert_match(/Host not reachable|No route to host/, result[:message_human]) assert_equal('172.42.42.42', result[:settings][:options][:host]) # gmail @@ -300,7 +300,7 @@ class EmailHelperTest < ActiveSupport::TestCase 'some@example.com', ) assert_equal('invalid', result[:result]) - assert_match(/Host not reachable|Host not reachable/, result[:message_human]) + assert_match(/Host not reachable|No route to host/, result[:message_human]) assert_equal('172.42.42.42', result[:settings][:options][:host]) # gmail