discourse/plugins/automation/spec/triggers
Gabriel Grubba 43414abf83
FIX: TopicTagsChanged trigger not working with multiple tags (#29961)
* FIX: `TopicTagsChanged` trigger not working with multiple tags

The check for when had multiple tags was being exclusive, you had to have all tags to trigger the automation, now it's inclusive, you can trigger the automation if you have any of the tags.

* DEV: add specs for when having multiple categories

* DEV: changed to use unions and intersections for tags

added more tests to check for multiple tags
2024-11-27 14:16:29 -03:00
..
after_post_cook_spec.rb
category_created_edited_spec.rb
pm_created_spec.rb
point_in_time_spec.rb
post_created_edited_spec.rb
recurring_spec.rb
stalled_wiki_spec.rb
topic_spec.rb
topic_tags_changed_spec.rb
user_added_to_group_spec.rb
user_badge_granted_spec.rb
user_first_logged_in_spec.rb
user_promoted_spec.rb
user_removed_from_group_spec.rb
user_updated_spec.rb