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:
authorGrzegorz Bizon <grzegorz@gitlab.com>2018-12-21 15:19:23 +0300
committerGrzegorz Bizon <grzegorz@gitlab.com>2018-12-21 15:19:23 +0300
commit6749ef30b3484625de573ecf1709d34b4176421d (patch)
tree723cd57836c6d59a3ca28be189cb6567e6cec1d8 /spec/javascripts
parent7f334fdfafd5ea8a1c4277dcf4b1cb56e79c529b (diff)
parentc111e2657df22c811191135369d599923dc89f54 (diff)
Merge branch 'feature/option-to-make-variables-protected' into 'master'
Option to make variables protected by default Closes #51822 See merge request gitlab-org/gitlab-ce!22744
Diffstat (limited to 'spec/javascripts')
-rw-r--r--spec/javascripts/ci_variable_list/ci_variable_list_spec.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/javascripts/ci_variable_list/ci_variable_list_spec.js b/spec/javascripts/ci_variable_list/ci_variable_list_spec.js
index 30b15011def..bef59b86d0c 100644
--- a/spec/javascripts/ci_variable_list/ci_variable_list_spec.js
+++ b/spec/javascripts/ci_variable_list/ci_variable_list_spec.js
@@ -118,6 +118,8 @@ describe('VariableList', () => {
loadFixtures('projects/ci_cd_settings.html.raw');
$wrapper = $('.js-ci-variable-list-section');
+ $wrapper.find('.js-ci-variable-input-protected').attr('data-default', 'false');
+
variableList = new VariableList({
container: $wrapper,
formField: 'variables',