discourse/spec/mailers
Alan Guo Xiang Tan 9c9058d0c3
FIX: Order tags shown in email subject by topics count and name (#22586)
Why this change?

Prior to this change, the ordering of the tags shown in the email subject
was non-deterministic as there was no specific order specified. This
problem was exposed by a flaky test which we had.

What is the fix?

This commit orders the tags used in the email subject first by the
`Tag#public_topic_count` column in descending order and then the `Tag#name`
column in ascending order.
2023-07-13 15:39:58 +08:00
..
group_smtp_mailer_spec.rb FIX: don't add "Re:" prefix in email subject for first post of group PMs. (#22175) 2023-06-19 18:52:00 +05:30
invite_mailer_spec.rb DEV: Apply syntax_tree formatting to spec/* 2023-01-09 11:49:28 +00:00
rejection_mailer_spec.rb DEV: Apply syntax_tree formatting to spec/* 2023-01-09 11:49:28 +00:00
subscription_mailer_spec.rb DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02: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: Order tags shown in email subject by topics count and name (#22586) 2023-07-13 15:39:58 +08:00
version_mailer_spec.rb DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00