Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-12-21 06:07:37 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-12-21 06:07:37 +0300
commitbc3e57199e52e45799cb4d47ee2630af40d1edc3 (patch)
treeecf9aab2b81f91f857d4d116fbf4448675c7a2d8 /spec/lib/gitlab/ci
parentbb348db4c22bf58ac685fcd66445ac172491b302 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/ci')
-rw-r--r--spec/lib/gitlab/ci/pipeline/seed/deployment_spec.rb9
1 files changed, 7 insertions, 2 deletions
diff --git a/spec/lib/gitlab/ci/pipeline/seed/deployment_spec.rb b/spec/lib/gitlab/ci/pipeline/seed/deployment_spec.rb
index 4e63f60ea6b..90f4b06cea0 100644
--- a/spec/lib/gitlab/ci/pipeline/seed/deployment_spec.rb
+++ b/spec/lib/gitlab/ci/pipeline/seed/deployment_spec.rb
@@ -3,8 +3,13 @@
require 'spec_helper'
describe Gitlab::Ci::Pipeline::Seed::Deployment do
- let_it_be(:project) { create(:project) }
- let(:job) { build(:ci_build, project: project) }
+ let_it_be(:project) { create(:project, :repository) }
+ let(:pipeline) do
+ create(:ci_pipeline, project: project,
+ sha: 'b83d6e391c22777fca1ed3012fce84f633d7fed0')
+ end
+
+ let(:job) { build(:ci_build, project: project, pipeline: pipeline) }
let(:seed) { described_class.new(job) }
let(:attributes) { {} }