mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 05:08:07 +08:00

Why this change? This is a follow up to 897be75941eb95b89e885e4b447ddf0c75eb81ff. When updating `net-smtp` from `0.4.x` to `0.5.x`, our test suite passed but the error `ArgumentError: SMTP-AUTH requested but missing user name` was being thrown in production leading to emails being failed to send out via SMTP. This commit adds a test to ensure that our production SMTP settings will at least attemp to connect to an SMTP server.