Commit d05cc9c6 authored by Matija Čupić's avatar Matija Čupić

Reload project before checking variables in project_spec

parent 5f127bab
......@@ -2071,7 +2071,7 @@ describe Project do
create(:ci_variable, :protected, value: 'protected', project: project)
end
subject { project.secret_variables_for(ref: 'ref') }
subject { project.reload.secret_variables_for(ref: 'ref') }
before do
stub_application_setting(
......
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