summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2019-04-03 17:55:56 +0000
committerClement Ho <clemmakesapps@gmail.com>2019-04-03 17:55:56 +0000
commit3de4399406eab3a34d9c07c31a99bc5e32de310e (patch)
treed003954100bb7702fe80a80d586b81f93b0ff352 /spec/features
parentee72dc1b34d893662fe0cb7793a1a960312b1f48 (diff)
parent02c99ec8ce0449f330f0fd9ca277ea4cdc82be23 (diff)
downloadgitlab-ce-3de4399406eab3a34d9c07c31a99bc5e32de310e.tar.gz
Merge branch '13784-validate-variables-for-masking' into 'master'
Simple masking frontend - CE See merge request gitlab-org/gitlab-ce!26751
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/group_variables_spec.rb2
-rw-r--r--spec/features/project_variables_spec.rb2
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