diff options
Diffstat (limited to 'spec/requests/api/jobs_spec.rb')
-rw-r--r-- | spec/requests/api/jobs_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/jobs_spec.rb b/spec/requests/api/jobs_spec.rb index 1e1099ebcb6..652be20f1e4 100644 --- a/spec/requests/api/jobs_spec.rb +++ b/spec/requests/api/jobs_spec.rb @@ -31,11 +31,11 @@ describe API::Jobs do end end - set(:project) do + let_it_be(:project, reload: true) do create(:project, :repository, public_builds: false) end - set(:pipeline) do + let_it_be(:pipeline, reload: true) do create(:ci_empty_pipeline, project: project, sha: project.commit.id, ref: project.default_branch) |