summaryrefslogtreecommitdiff
path: root/spec/javascripts/ci_variable_list/native_form_variable_list_spec.js
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-03-26 12:36:51 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2018-03-26 12:36:51 +0000
commit1de22c672e3238011e9f3d618484424805fe8437 (patch)
tree9e552989b2df6c5301361460c71fb3d554c98a22 /spec/javascripts/ci_variable_list/native_form_variable_list_spec.js
parent5523ae4915babfd2a66211f76d3285439d38d4f2 (diff)
parent05103f080cf0e40b8fe5e1774b8dd1f8084105e3 (diff)
downloadgitlab-ce-1de22c672e3238011e9f3d618484424805fe8437.tar.gz
Merge branch '43316-controller-parameters-handling-sensitive-information-should-use-a-more-specific-name' into 'master'
Resolve "Controller parameters handling sensitive information should use a more specific name" Closes #43316 See merge request gitlab-org/gitlab-ce!17796
Diffstat (limited to 'spec/javascripts/ci_variable_list/native_form_variable_list_spec.js')
-rw-r--r--spec/javascripts/ci_variable_list/native_form_variable_list_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/ci_variable_list/native_form_variable_list_spec.js b/spec/javascripts/ci_variable_list/native_form_variable_list_spec.js
index 1ea8d86cb7e..94a0c999d66 100644
--- a/spec/javascripts/ci_variable_list/native_form_variable_list_spec.js
+++ b/spec/javascripts/ci_variable_list/native_form_variable_list_spec.js
@@ -20,7 +20,7 @@ describe('NativeFormVariableList', () => {
it('should clear out the `name` attribute on the inputs for the last empty row on form submission (avoid BE validation)', () => {
const $row = $wrapper.find('.js-row');
expect($row.find('.js-ci-variable-input-key').attr('name')).toBe('schedule[variables_attributes][][key]');
- expect($row.find('.js-ci-variable-input-value').attr('name')).toBe('schedule[variables_attributes][][value]');
+ expect($row.find('.js-ci-variable-input-value').attr('name')).toBe('schedule[variables_attributes][][secret_value]');
$wrapper.closest('form').trigger('trigger-submit');