diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-25 03:08:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-25 03:08:36 +0300 |
commit | 15e5a05bcd3525dd6c046dca2682b04532ba9bd1 (patch) | |
tree | d7336c9eab9716f541eb9548d51d4c59ff34aa3c /spec/initializers | |
parent | 3d911c6c1f34df47036f1d7e0838e4d5876ee923 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/initializers')
-rw-r--r-- | spec/initializers/settings_spec.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/spec/initializers/settings_spec.rb b/spec/initializers/settings_spec.rb index c3200d2fab1..09064a21099 100644 --- a/spec/initializers/settings_spec.rb +++ b/spec/initializers/settings_spec.rb @@ -9,12 +9,7 @@ RSpec.describe Settings do expect(Gitlab.config.ldap.servers.main.label).to eq('ldap') end - # Specifically trying to cause this error discovered in EE when removing the - # reassignment of each server element with Settingslogic. - # - # `undefined method `label' for #<Hash:0x007fbd18b59c08>` - # - it 'can be accessed in a very specific way that breaks without reassigning each element with Settingslogic' do + it 'can be accessed in a very specific way that breaks without reassigning each element' do server_settings = Gitlab.config.ldap.servers['main'] expect(server_settings.label).to eq('ldap') end |