mirror of
https://github.com/discourse/discourse.git
synced 2024-12-22 11:53:47 +08:00
6e672557fa
Add additional limits to text columns for chat.
7 lines
236 B
Ruby
7 lines
236 B
Ruby
# frozen_string_literal: true
|
|
|
|
RSpec.describe Chat::ChannelArchive do
|
|
it { is_expected.to validate_length_of(:archive_error).is_at_most(1000) }
|
|
it { is_expected.to validate_length_of(:destination_topic_title).is_at_most(1000) }
|
|
end
|