diff options
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/organizations/organization_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/models/organizations/organization_spec.rb b/spec/models/organizations/organization_spec.rb index fd4676fbfe3..bb3d0c2307d 100644 --- a/spec/models/organizations/organization_spec.rb +++ b/spec/models/organizations/organization_spec.rb @@ -16,6 +16,8 @@ RSpec.describe Organizations::Organization, type: :model, feature_category: :cel it { is_expected.to validate_presence_of(:name) } it { is_expected.to validate_length_of(:name).is_at_most(255) } + it { is_expected.to validate_presence_of(:path) } + it { is_expected.to validate_length_of(:path).is_at_least(2).is_at_most(255) } end context 'when using scopes' do |