diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-17 19:05:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-17 19:05:49 +0300 |
commit | 43a25d93ebdabea52f99b05e15b06250cd8f07d7 (patch) | |
tree | dceebdc68925362117480a5d672bcff122fb625b /spec/initializers/settings_spec.rb | |
parent | 20c84b99005abd1c82101dfeff264ac50d2df211 (diff) |
Add latest changes from gitlab-org/gitlab@16-0-stable-eev16.0.0-rc42
Diffstat (limited to 'spec/initializers/settings_spec.rb')
-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 |