Commit 84ebd4d8 authored by Matija Čupić's avatar Matija Čupić Committed by Luke Bennett

Expect masked TOKENs in EE specs

parent 97fdcb95
......@@ -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