discourse/spec/services/flags
Krzysztof Kotlarek e020888b0a
FIX: flag valid type inclusion should be lambda (#28030)
There is a bug with chat type flags - "An error occurred: Applies to is not included in the list"

Flag.valid_applies_to_types is a set of core types and types registered by plugins `Set.new(DEFAULT_VALID_APPLIES_TO | DiscoursePluginRegistry.flag_applies_to_types)`

Using lamba should ensure that valid values are calculated dynamically.
2024-07-23 11:47:50 +10:00
..
create_flag_spec.rb FIX: flag valid type inclusion should be lambda (#28030) 2024-07-23 11:47:50 +10:00
destroy_flag_spec.rb
reorder_flag_spec.rb
toggle_flag_spec.rb
update_flag_spec.rb FEATURE: custom flag can require additional message (#27908) 2024-07-18 10:10:22 +10:00