diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-27 15:09:37 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-27 15:09:37 +0300 |
commit | b59833305bfaf6b0b3347ad2b626c90c3b3fd5fc (patch) | |
tree | 9536cd3ca88f16b18cfe66b9f42e17b99994760c /spec/initializers/check_forced_decomposition_spec.rb | |
parent | c31a6781a356297f77dd87af4826ead582bbcb34 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/initializers/check_forced_decomposition_spec.rb')
-rw-r--r-- | spec/initializers/check_forced_decomposition_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/initializers/check_forced_decomposition_spec.rb b/spec/initializers/check_forced_decomposition_spec.rb index 011a093b711..a216f078932 100644 --- a/spec/initializers/check_forced_decomposition_spec.rb +++ b/spec/initializers/check_forced_decomposition_spec.rb @@ -7,6 +7,10 @@ RSpec.describe 'check_forced_decomposition initializer', feature_category: :pods load Rails.root.join('config/initializers/check_forced_decomposition.rb') end + before do + stub_env('GITLAB_ALLOW_SEPARATE_CI_DATABASE', nil) + end + context 'for production env' do before do allow(Gitlab).to receive(:dev_or_test_env?).and_return(false) |