diff options
author | Miranda Fluharty <mfluharty@gitlab.com> | 2019-03-27 19:13:55 +0000 |
---|---|---|
committer | Kamil TrzciĆski <ayufan@ayufan.eu> | 2019-03-27 19:13:55 +0000 |
commit | fc8f4b62f887abbc02e2c21b7275f53b51a5bad2 (patch) | |
tree | 3644afa753f4fe855302342bc7f2e56bf17f80e3 /spec/features | |
parent | 95325c6ab7343f5c241fe63b3e0e782372e93245 (diff) | |
download | gitlab-ce-fc8f4b62f887abbc02e2c21b7275f53b51a5bad2.tar.gz |
Scaffold UI elements for minimal version
Add a masked switch to variable rows
Copy some behavior from the protected switch
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/group_variables_spec.rb | 2 | ||||
-rw-r--r-- | spec/features/project_variables_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/group_variables_spec.rb b/spec/features/group_variables_spec.rb index 1a53e7c9512..fc5777e8c7c 100644 --- a/spec/features/group_variables_spec.rb +++ b/spec/features/group_variables_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' describe 'Group variables', :js do let(:user) { create(:user) } let(:group) { create(:group) } - let!(:variable) { create(:ci_group_variable, key: 'test_key', value: 'test_value', group: group) } + let!(:variable) { create(:ci_group_variable, key: 'test_key', value: 'test_value', masked: true, group: group) } let(:page_path) { group_settings_ci_cd_path(group) } before do diff --git a/spec/features/project_variables_spec.rb b/spec/features/project_variables_spec.rb index 6bdf5df1036..76abc640077 100644 --- a/spec/features/project_variables_spec.rb +++ b/spec/features/project_variables_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' describe 'Project variables', :js do let(:user) { create(:user) } let(:project) { create(:project) } - let(:variable) { create(:ci_variable, key: 'test_key', value: 'test_value') } + let(:variable) { create(:ci_variable, key: 'test_key', value: 'test_value', masked: true) } let(:page_path) { project_settings_ci_cd_path(project) } before do |