diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-14 03:08:10 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-14 03:08:10 +0300 |
commit | c77ea1f6860ba657eefd5a06e46db8d212b21f08 (patch) | |
tree | 9330894c4c318e04a71f38ce85c82d3a23192fcb /spec/models | |
parent | 04cc87ee46c1c0b6b4eb7df964b3115dd2578877 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/organizations/organization_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/models/organizations/organization_spec.rb b/spec/models/organizations/organization_spec.rb index cc2262634e3..4a75f352b6f 100644 --- a/spec/models/organizations/organization_spec.rb +++ b/spec/models/organizations/organization_spec.rb @@ -58,6 +58,12 @@ RSpec.describe Organizations::Organization, type: :model, feature_category: :cel end end + describe '.default_organization' do + it 'returns the default organization' do + expect(described_class.default_organization).to eq(default_organization) + end + end + describe '#id' do context 'when organization is default' do it 'has id 1' do |