diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-03 13:29:00 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-03 13:29:00 +0300 |
commit | 717fdd6d42f119dd1e0f457c40563cc35985fbae (patch) | |
tree | cdcb1a8167a809c8c203d50dcff65ef44d0eace2 /spec/lib/gitlab | |
parent | b2acebb4efdf8023f685cfd14489c49e56d126a7 (diff) |
Rename Ci::Build commit to pipeline
Diffstat (limited to 'spec/lib/gitlab')
-rw-r--r-- | spec/lib/gitlab/badge/build_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/badge/build_spec.rb b/spec/lib/gitlab/badge/build_spec.rb index b6f7a2e7ec4..e87bf41ea25 100644 --- a/spec/lib/gitlab/badge/build_spec.rb +++ b/spec/lib/gitlab/badge/build_spec.rb @@ -43,7 +43,7 @@ describe Gitlab::Badge::Build do context 'build exists' do let(:ci_commit) { create(:ci_commit, project: project, sha: sha, ref: branch) } - let!(:build) { create(:ci_build, commit: ci_commit) } + let!(:build) { create(:ci_build, pipeline: ci_commit) } context 'build success' do |