Commit 4a679690 authored by Stan Hu's avatar Stan Hu

Fix failing spec in ee/spec/controllers/projects/variables_controller_spec.rb

EE fixes for https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/17796
parent 330e72e2
......@@ -19,13 +19,13 @@ describe Projects::VariablesController do
let(:variable_attributes) do
{ id: variable.id,
key: variable.key,
value: variable.value,
secret_value: variable.value,
protected: variable.protected?.to_s,
environment_scope: variable.environment_scope }
end
let(:new_variable_attributes) do
{ key: 'new_key',
value: 'dummy_value',
secret_value: 'dummy_value',
protected: 'false',
environment_scope: 'new_scope' }
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