diff options
author | Nick Thomas <nick@gitlab.com> | 2018-01-12 13:37:20 +0000 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2018-01-12 13:58:15 +0000 |
commit | d1c01fe80b3dc94a82a62b563dbda3ebd751a033 (patch) | |
tree | c9e1d0b73578704ed1beb619bd277794f05a0087 /spec/gitlab_config_spec.rb | |
parent | 73e2cf531ca8b92dc48da5024c8095256aa10818 (diff) | |
download | gitlab-shell-d1c01fe80b3dc94a82a62b563dbda3ebd751a033.tar.gz |
Remove direct redis integration
Diffstat (limited to 'spec/gitlab_config_spec.rb')
-rw-r--r-- | spec/gitlab_config_spec.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/spec/gitlab_config_spec.rb b/spec/gitlab_config_spec.rb index e33e606..63cb2b3 100644 --- a/spec/gitlab_config_spec.rb +++ b/spec/gitlab_config_spec.rb @@ -4,21 +4,6 @@ require_relative '../lib/gitlab_config' describe GitlabConfig do let(:config) { GitlabConfig.new } - describe :redis do - before do - config_file = File.read('spec/fixtures/gitlab_config_redis.yml') - config.instance_variable_set(:@config, YAML.load(config_file)) - end - - it { config.redis['host'].should eq('127.0.1.1') } - it { config.redis['port'].should eq(6378) } - it { config.redis['database'].should eq(1) } - it { config.redis['namespace'].should eq('my:gitlab') } - it { config.redis['socket'].should eq('/var/run/redis/redis.sock') } - it { config.redis['pass'].should eq('secure') } - it { config.redis['sentinels'].should eq([{ 'host' => '127.0.0.1', 'port' => 26380 }]) } - end - describe :gitlab_url do let(:url) { 'http://test.com' } subject { config.gitlab_url } |