Commit e99ef36f authored by Robert Speicher's avatar Robert Speicher

Merge branch 'ee-revert-revert-mask-existing-ci-vars' into 'master'

Expect masked TOKENs in EE specs

Closes #10274

See merge request gitlab-org/gitlab-ee!9924
parents 4acf160d 84ebd4d8
......@@ -194,7 +194,7 @@ describe Project do
it 'returns variables from this service' do
expect(project.deployment_variables(environment: 'review/name'))
.to include(key: 'KUBE_TOKEN', value: 'review-AAA', public: false)
.to include(key: 'KUBE_TOKEN', value: 'review-AAA', public: false, masked: true)
end
end
......@@ -203,7 +203,7 @@ describe Project do
it 'returns variables from this service' do
expect(project.deployment_variables(environment: 'staging/name'))
.to include(key: 'KUBE_TOKEN', value: 'default-AAA', public: false)
.to include(key: 'KUBE_TOKEN', value: 'default-AAA', public: false, masked: true)
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment