diff options
author | Matija Čupić <matteeyah@gmail.com> | 2019-07-23 22:29:12 +0300 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2019-07-26 01:17:52 +0300 |
commit | 38ab1ae2f200e2071ea7329e106beb1b9232f44c (patch) | |
tree | 48f38c5e0749501ba6652b7062f677d5cda4adbf /lib/gitlab | |
parent | 1eab06571496c1b7950dc081435fa21058b614c8 (diff) |
Rename latest_successful to be more explicit
* Reword Project#latest_successful_build_for to
Project#latest_successful_build_for_ref
* Reword Ci::Pipeline#latest_successful_for to
Ci::Pipeline#latest_successful_build_for_ref
Diffstat (limited to 'lib/gitlab')
-rw-r--r-- | lib/gitlab/badge/coverage/report.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/badge/coverage/report.rb b/lib/gitlab/badge/coverage/report.rb index 7f7cc62c8ef..15cccc6f287 100644 --- a/lib/gitlab/badge/coverage/report.rb +++ b/lib/gitlab/badge/coverage/report.rb @@ -14,7 +14,7 @@ module Gitlab @ref = ref @job = job - @pipeline = @project.ci_pipelines.latest_successful_for(@ref) + @pipeline = @project.ci_pipelines.latest_successful_for_ref(@ref) end def entity |