0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-12 05:37:26 +08:00
discourse/spec/mailers
Michael Brown de0f5be9f9 FIX: various SMTP timeouts should be used as floats
Without this, these variables when set in the environment would be passed as
strings, causing an error:

```
NoMethodError: undefined method `zero?' for an instance of String (NoMethodError)

    return yield(sec) if sec == nil or sec.zero?
                                          ^^^^^^
from …/ruby-3.3.6@discourse/gems/timeout-0.5.0/lib/timeout.rb:203:in `timeout'
```
2025-12-16 09:35:01 -05:00
..
group_smtp_mailer_spec.rb FIX: various SMTP timeouts should be used as floats 2025-12-16 09:35:01 -05:00
invite_mailer_spec.rb DEV: fix flaky invite_mailer_spec test (#35664) 2025-10-29 11:14:36 -04:00
rejection_mailer_spec.rb DEV: Update rubocop-discourse to latest version 2024-03-04 15:08:35 +01:00
subscription_mailer_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
test_mailer_spec.rb DEV: Apply syntax_tree formatting to spec/* 2023-01-09 11:49:28 +00:00
user_notifications_spec.rb FIX: translation missing when using optional_* placeholder in body (#36023) 2025-11-25 16:02:55 +01:00
version_mailer_spec.rb DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00