mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 18:55:27 +08:00
9 lines
244 B
Ruby
9 lines
244 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "rails_helper"
|
|
|
|
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
|