diff options
Diffstat (limited to 'spec/lib/gitlab/redis/queues_spec.rb')
-rw-r--r-- | spec/lib/gitlab/redis/queues_spec.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/lib/gitlab/redis/queues_spec.rb b/spec/lib/gitlab/redis/queues_spec.rb index a0f73a654e7..62b30431f6f 100644 --- a/spec/lib/gitlab/redis/queues_spec.rb +++ b/spec/lib/gitlab/redis/queues_spec.rb @@ -4,7 +4,6 @@ require 'spec_helper' RSpec.describe Gitlab::Redis::Queues do let(:instance_specific_config_file) { "config/redis.queues.yml" } - let(:environment_config_file_name) { "GITLAB_REDIS_QUEUES_CONFIG_FILE" } include_examples "redis_shared_examples" @@ -13,14 +12,6 @@ RSpec.describe Gitlab::Redis::Queues do expect(subject).to receive(:fetch_config) { config } end - context 'when the config url is blank' do - let(:config) { nil } - - it 'has a legacy default URL' do - expect(subject.send(:raw_config_hash)).to eq(url: 'redis://localhost:6381' ) - end - end - context 'when the config url is present' do let(:config) { { url: 'redis://localhost:1111' } } |