Now secret_variables_for would return the variables
This commit is contained in:
parent
76e738fc0e
commit
65563c7b1b
1 changed files with 2 additions and 3 deletions
|
@ -1750,8 +1750,7 @@ describe Project, models: true do
|
|||
|
||||
shared_examples 'ref is protected' do
|
||||
it 'contains all the variables' do
|
||||
is_expected.to contain_exactly(
|
||||
*[secret_variable, protected_variable].map(&:to_runner_variable))
|
||||
is_expected.to contain_exactly(secret_variable, protected_variable)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -1762,7 +1761,7 @@ describe Project, models: true do
|
|||
end
|
||||
|
||||
it 'contains only the secret variables' do
|
||||
is_expected.to contain_exactly(secret_variable.to_runner_variable)
|
||||
is_expected.to contain_exactly(secret_variable)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue