summaryrefslogtreecommitdiff
path: root/spec/initializers
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-10-06 06:08:33 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-10-06 06:08:33 +0000
commit52b1470ada3118a007bc6664f72b665f80f2200e (patch)
tree6baec506af8a8e80e5cd1c53d2a348ca84b01412 /spec/initializers
parent53a3791717e8925078f074b976a561c7a72b1b22 (diff)
downloadgitlab-ce-52b1470ada3118a007bc6664f72b665f80f2200e.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/initializers')
-rw-r--r--spec/initializers/0_log_deprecations_spec.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/initializers/0_log_deprecations_spec.rb b/spec/initializers/0_log_deprecations_spec.rb
index 4bb4c9237c9..d34be32f7d0 100644
--- a/spec/initializers/0_log_deprecations_spec.rb
+++ b/spec/initializers/0_log_deprecations_spec.rb
@@ -86,18 +86,6 @@ RSpec.describe '0_log_deprecations' do
expect { warn('ABC gem is deprecated') }.to output.to_stderr
end
end
-
- it 'logs Redis exists_returns_integer deprecation message' do
- msg = "`Redis#exists(key)` will return an Integer in redis-rb 4.3. `exists?` returns a boolean, you " \
- "should use it instead. To opt-in to the new behavior now you can set Redis.exists_returns_integer = " \
- "true. To disable this message and keep the current (boolean) behaviour of 'exists' you can set " \
- "`Redis.exists_returns_integer = false`, but this option will be removed in 5.0.0. " \
- "(#{::Kernel.caller(1, 1).first})\n"
-
- expect(Gitlab::DeprecationJsonLogger).to receive(:info).with(message: msg.strip, source: 'redis')
-
- expect { warn(msg) }.to output.to_stderr
- end
end
describe 'Rails deprecations' do