discourse/plugins/automation/spec/triggers
Joffrey JAFFEUX bf715c8235
FIX: resets pending automations only if necessary (#26685)
Prior to this fix, any change to an automation would reset `pending_automations`, now we only do it if any value related to recurrence (start_date, interval, frequency, execute_at...) has been changed.

It means that any trigger creating `pending_automations` now needs to manage them in the `on_update` callback.
2024-04-19 14:23:57 +02:00
..
after_post_cook_spec.rb
category_created_edited_spec.rb
pm_created_spec.rb
point_in_time_spec.rb FIX: resets pending automations only if necessary (#26685) 2024-04-19 14:23:57 +02:00
post_created_edited_spec.rb
recurring_spec.rb FIX: resets pending automations only if necessary (#26685) 2024-04-19 14:23:57 +02:00
stalled_wiki_spec.rb
topic_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