Fix tests

This commit is contained in:
Lin Jen-Shin 2016-08-26 15:40:12 +08:00
parent b17df0507b
commit 3a8fb95c98

View file

@ -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