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:
authorLin Jen-Shin <godfat@godfat.org>2016-06-15 12:34:44 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-06-15 12:34:44 +0300
commitcd3f112f88c2362bb64961e52e6272314287a80b (patch)
tree0cda2efcf1ae8e41a8530fcf8fca50d3e60b8480
parentc866b906e67d42d9ad9537e8a6d6a254c3f74d8b (diff)
Adopt the rename from ci_commits to ci_pipelines
-rw-r--r--spec/factories/ci/pipelines.rb (renamed from spec/factories/ci/commits.rb)0
-rw-r--r--spec/models/ci/runner_spec.rb4
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/factories/ci/commits.rb b/spec/factories/ci/pipelines.rb
index a039bef6f3c..a039bef6f3c 100644
--- a/spec/factories/ci/commits.rb
+++ b/spec/factories/ci/pipelines.rb
diff --git a/spec/models/ci/runner_spec.rb b/spec/models/ci/runner_spec.rb
index 51e60ef8ada..c3638bf407f 100644
--- a/spec/models/ci/runner_spec.rb
+++ b/spec/models/ci/runner_spec.rb
@@ -92,8 +92,8 @@ describe Ci::Runner, models: true do
describe '#can_pick?' do
let(:project) { create(:project) }
- let(:commit) { create(:ci_commit, project: project) }
- let(:build) { create(:ci_build, commit: commit) }
+ let(:pipeline) { create(:ci_pipeline, project: project) }
+ let(:build) { create(:ci_build, pipeline: pipeline) }
let(:runner) { create(:ci_runner) }
before do