diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-03-26 12:36:51 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-03-26 12:36:51 +0000 |
commit | 1de22c672e3238011e9f3d618484424805fe8437 (patch) | |
tree | 9e552989b2df6c5301361460c71fb3d554c98a22 /spec/javascripts | |
parent | 5523ae4915babfd2a66211f76d3285439d38d4f2 (diff) | |
parent | 05103f080cf0e40b8fe5e1774b8dd1f8084105e3 (diff) | |
download | gitlab-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')
-rw-r--r-- | spec/javascripts/ci_variable_list/native_form_variable_list_spec.js | 2 |
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'); |