diff options
Diffstat (limited to 'spec/lib/gitlab/database/click_house_client_spec.rb')
-rw-r--r-- | spec/lib/gitlab/database/click_house_client_spec.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/lib/gitlab/database/click_house_client_spec.rb b/spec/lib/gitlab/database/click_house_client_spec.rb index 502d879bf6a..50086795b2b 100644 --- a/spec/lib/gitlab/database/click_house_client_spec.rb +++ b/spec/lib/gitlab/database/click_house_client_spec.rb @@ -12,25 +12,12 @@ RSpec.describe 'ClickHouse::Client', feature_category: :database do end describe 'when click_house spec tag is added', :click_house do - around do |example| - with_net_connect_allowed do - example.run - end - end - it 'has a ClickHouse database configured' do databases = ClickHouse::Client.configuration.databases expect(databases).not_to be_empty end - it 'returns data from the DB via `select` method' do - result = ClickHouse::Client.select("SELECT 1 AS value", :main) - - # returns JSON if successful. Otherwise error - expect(result).to eq([{ 'value' => 1 }]) - end - it 'does not return data via `execute` method' do result = ClickHouse::Client.execute("SELECT 1 AS value", :main) |