discourse/spec/models/badge_grouping_spec.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
244 B
Ruby
Raw Normal View History

# 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