mirror of
https://github.com/discourse/discourse.git
synced 2024-12-19 19:04:19 +08:00
7 lines
220 B
Ruby
7 lines
220 B
Ruby
# frozen_string_literal: true
|
|
|
|
RSpec.describe BadgeGrouping, type: :model do
|
|
it { is_expected.to validate_length_of(:name).is_at_most(100) }
|
|
it { is_expected.to validate_length_of(:description).is_at_most(500) }
|
|
end
|