mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 19:00:32 -06:00
4ea396e67c
Users submitting requests to join groups were not receiving errors when the character limit for the request was exceeded. This also affects the UX when admin-created group request templates are inserted into the request. This patch bumps the limits. - https://meta.discourse.org/t/group-membership-requests-suddenly-limited-to-274-characters/265127 - https://github.com/discourse/discourse/pull/19993
8 lines
216 B
Ruby
8 lines
216 B
Ruby
# frozen_string_literal: true
|
|
|
|
RSpec.describe GroupRequest do
|
|
it { is_expected.to belong_to :user }
|
|
it { is_expected.to belong_to :group }
|
|
it { is_expected.to validate_length_of(:reason).is_at_most(5000) }
|
|
end
|