Fix tests
This commit is contained in:
parent
b17df0507b
commit
3a8fb95c98
1 changed files with 1 additions and 3 deletions
|
@ -12,9 +12,7 @@ module Gitlab
|
|||
@ref = ref
|
||||
@job = job
|
||||
|
||||
@pipeline = @project.pipelines
|
||||
.latest_successful_for(@ref)
|
||||
.first
|
||||
@pipeline = @project.pipelines.latest_successful_for(@ref)
|
||||
end
|
||||
|
||||
def entity
|
||||
|
|
Loading…
Reference in a new issue