suppress rejection email when email was sent to mailinglist mirror category

This commit is contained in:
Gerhard Schlager
2017-11-17 14:48:48 +01:00
parent 8f6d35aa59
commit aea161fabd
3 changed files with 29 additions and 4 deletions

View File

@@ -29,3 +29,9 @@ end
Fabricator(:link_category, from: :category) do
before_validation { |category, transients| category.topic_featured_link_allowed = true }
end
Fabricator(:mailinglist_mirror_category, from: :category) do
email_in 'list@example.com'
email_in_allow_strangers true
mailinglist_mirror true
end