diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-03 14:46:17 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-03 14:46:17 +0200 |
commit | 4d5f7aa00827f425dd3d2c3bd5a395c8e948f0ba (patch) | |
tree | dc5446ac09424f48cd5b59df67ab7059ac60aa49 /spec/models/ci | |
parent | bcd009e661291554cffe404123de629860519602 (diff) | |
download | gitlab-ce-4d5f7aa00827f425dd3d2c3bd5a395c8e948f0ba.tar.gz |
Fix more places where we should rename ci_commit to pipeline
Diffstat (limited to 'spec/models/ci')
-rw-r--r-- | spec/models/ci/pipeline_spec.rb (renamed from spec/models/ci/commit_spec.rb) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/ci/commit_spec.rb b/spec/models/ci/pipeline_spec.rb index 8426f28d445..2f8b1d790a7 100644 --- a/spec/models/ci/commit_spec.rb +++ b/spec/models/ci/pipeline_spec.rb @@ -334,7 +334,7 @@ describe Ci::Pipeline, models: true do describe '#stages' do let(:commit2) { FactoryGirl.create :ci_commit, project: project } - subject { CommitStatus.where(commit: [commit, commit2]).stages } + subject { CommitStatus.where(pipeline: [commit, commit2]).stages } before do FactoryGirl.create :ci_build, pipeline: commit2, stage: 'test', stage_idx: 1 |