discourse/plugins/chat/spec/models/chat/channel_archive_spec.rb
David Battersby 6e672557fa
DEV: add maxlength to additional chat text columns (#23505)
Add additional limits to text columns for chat.
2023-09-12 14:52:50 +08:00

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