discourse-assign/spec/lib
Andrei Prigorshnev 51920a99c0
FIX: Assignments limit shouldn't prevent from reassigning a post (#556)
At the moment, it's possible to have maximum 5 assignments per topic 
(that includes topic and post assignments). When trying to assign more, 
a message "Limit of 5 assignments per topic has been reached" appears.

One possible edge case here is _reassigning_ a topic or a post. Reassignment 
doesn't lead to exceeding the limit, and therefore it should be possible. But 
at the moment we handle correctly only _topic_  reassignments, while when 
reassigning a _post_, we show the error message "the limit has been reached".

This commit makes post reassignments work correctly too.
2024-03-29 15:50:02 +04:00
..
discourse_assign FIX: Display assignments in user menu properly 2023-11-08 15:26:57 +01:00
assigner_spec.rb FIX: Assignments limit shouldn't prevent from reassigning a post (#556) 2024-03-29 15:50:02 +04:00
pending_assigns_reminder_spec.rb DEV: Update ruby linting (#518) 2023-10-20 17:04:03 +02:00
random_assign_utils_spec.rb FEATURE: Allow to reassign to same user 2023-11-27 16:17:25 +01:00
topic_query_spec.rb DEV: Fix new Rubocop offenses (#548) 2024-02-29 18:23:48 +01:00