diff options
Diffstat (limited to 'spec/workers/ci/external_pull_requests/create_pipeline_worker_spec.rb')
-rw-r--r-- | spec/workers/ci/external_pull_requests/create_pipeline_worker_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/ci/external_pull_requests/create_pipeline_worker_spec.rb b/spec/workers/ci/external_pull_requests/create_pipeline_worker_spec.rb index 116a0e4d035..a637ac088ff 100644 --- a/spec/workers/ci/external_pull_requests/create_pipeline_worker_spec.rb +++ b/spec/workers/ci/external_pull_requests/create_pipeline_worker_spec.rb @@ -4,7 +4,7 @@ require 'spec_helper' RSpec.describe Ci::ExternalPullRequests::CreatePipelineWorker do let_it_be(:project) { create(:project, :auto_devops, :repository) } - let_it_be(:user) { project.owner } + let_it_be(:user) { project.first_owner } let_it_be(:external_pull_request) do branch = project.repository.branches.last create(:external_pull_request, project: project, source_branch: branch.name, source_sha: branch.target) |