summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/ci/templates/Jobs/test_gitlab_ci_yaml_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-05-12 03:10:21 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-05-12 03:10:21 +0000
commit3e7f2f00ca92b26d631009c5f45986500a27024b (patch)
treef91f6c4dc97a762a58190b4bb9ea355e2fc2cd7c /spec/lib/gitlab/ci/templates/Jobs/test_gitlab_ci_yaml_spec.rb
parenta160c4b1a72105a751cdc2f9f973dbe39a1c0dfd (diff)
downloadgitlab-ce-3e7f2f00ca92b26d631009c5f45986500a27024b.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/ci/templates/Jobs/test_gitlab_ci_yaml_spec.rb')
-rw-r--r--spec/lib/gitlab/ci/templates/Jobs/test_gitlab_ci_yaml_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/ci/templates/Jobs/test_gitlab_ci_yaml_spec.rb b/spec/lib/gitlab/ci/templates/Jobs/test_gitlab_ci_yaml_spec.rb
index b64959a9917..7fa8d906d07 100644
--- a/spec/lib/gitlab/ci/templates/Jobs/test_gitlab_ci_yaml_spec.rb
+++ b/spec/lib/gitlab/ci/templates/Jobs/test_gitlab_ci_yaml_spec.rb
@@ -45,7 +45,7 @@ RSpec.describe 'Jobs/Test.gitlab-ci.yml' do
end
context 'on merge request' do
- let(:service) { MergeRequests::CreatePipelineService.new(project, user) }
+ let(:service) { MergeRequests::CreatePipelineService.new(project: project, current_user: user) }
let(:merge_request) { create(:merge_request, :simple, source_project: project) }
let(:pipeline) { service.execute(merge_request) }