mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-09 11:25:31 +08:00
Prior to this fix we could exit early if tags was `[]` as `tags && (tags & post.topic.tags.map(&:name)).empty?` would have returned true. This commit ensures it's not the case anymore and adds a test for it. Co-Authored-By: Martin Brennan <mjrbrennan@gmail.com> |
||
|---|---|---|
| .. | ||
| automation_fabricator.rb | ||
| automation_field_fabricator.rb | ||
| user_global_notice_fabricator.rb | ||