Commit cd3f112f authored by Lin Jen-Shin's avatar Lin Jen-Shin

Adopt the rename from ci_commits to ci_pipelines

parent c866b906
...@@ -92,8 +92,8 @@ describe Ci::Runner, models: true do ...@@ -92,8 +92,8 @@ describe Ci::Runner, models: true do
describe '#can_pick?' do describe '#can_pick?' do
let(:project) { create(:project) } let(:project) { create(:project) }
let(:commit) { create(:ci_commit, project: project) } let(:pipeline) { create(:ci_pipeline, project: project) }
let(:build) { create(:ci_build, commit: commit) } let(:build) { create(:ci_build, pipeline: pipeline) }
let(:runner) { create(:ci_runner) } let(:runner) { create(:ci_runner) }
before do before do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment