summaryrefslogtreecommitdiff
path: root/spec/models/ci/build_spec.rb
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-03-15 12:52:55 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2018-03-15 12:52:55 +0000
commit2a2b65c4b97a039c553d829d56a58875cde91754 (patch)
tree022455dec95c3220950d3ae2ce5a5faf530a1fd8 /spec/models/ci/build_spec.rb
parent0e1c67d15cc2042907cd7e2ed2fb40f2b476a33c (diff)
parenta830c49a3fcf684f89ea5068bbca8ccc1b83fc4c (diff)
downloadgitlab-ce-42762-project-settings-sections-cannot-be-expanded-after-submission-error.tar.gz
Merge branch 'backstage/gb/refactor-ci-cd-variables-collections' into 'master'42762-project-settings-sections-cannot-be-expanded-after-submission-error
Introduce CI/CD variables collection Closes #33042 See merge request gitlab-org/gitlab-ce!14439
Diffstat (limited to 'spec/models/ci/build_spec.rb')
-rw-r--r--spec/models/ci/build_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb
index 3b8cf16ee1a..01203ff44c8 100644
--- a/spec/models/ci/build_spec.rb
+++ b/spec/models/ci/build_spec.rb
@@ -1885,10 +1885,10 @@ describe Ci::Build do
describe 'variables ordering' do
context 'when variables hierarchy is stubbed' do
- let(:build_pre_var) { { key: 'build', value: 'value' } }
- let(:project_pre_var) { { key: 'project', value: 'value' } }
- let(:pipeline_pre_var) { { key: 'pipeline', value: 'value' } }
- let(:build_yaml_var) { { key: 'yaml', value: 'value' } }
+ let(:build_pre_var) { { key: 'build', value: 'value', public: true } }
+ let(:project_pre_var) { { key: 'project', value: 'value', public: true } }
+ let(:pipeline_pre_var) { { key: 'pipeline', value: 'value', public: true } }
+ let(:build_yaml_var) { { key: 'yaml', value: 'value', public: true } }
before do
allow(build).to receive(:predefined_variables) { [build_pre_var] }