Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/migrations/20221219122320_copy_clickhouse_connection_string_to_encrypted_var_spec.rb')
-rw-r--r--spec/migrations/20221219122320_copy_clickhouse_connection_string_to_encrypted_var_spec.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/spec/migrations/20221219122320_copy_clickhouse_connection_string_to_encrypted_var_spec.rb b/spec/migrations/20221219122320_copy_clickhouse_connection_string_to_encrypted_var_spec.rb
deleted file mode 100644
index 48702e866e0..00000000000
--- a/spec/migrations/20221219122320_copy_clickhouse_connection_string_to_encrypted_var_spec.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe CopyClickhouseConnectionStringToEncryptedVar, feature_category: :product_analytics_data_management do
- let!(:migration) { described_class.new }
- let(:setting) { table(:application_settings).create!(clickhouse_connection_string: 'https://example.com/test') }
-
- it 'copies the clickhouse_connection_string to the encrypted column' do
- expect(setting.clickhouse_connection_string).to eq('https://example.com/test')
-
- migrate!
-
- setting.reload
- expect(setting.clickhouse_connection_string).to eq('https://example.com/test')
- expect(setting.encrypted_product_analytics_clickhouse_connection_string).not_to be_nil
- end
-end