From 8ce03988b9a29d34016052be2dd8641fa7b9efbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Trzci=C5=84ski?= Date: Mon, 30 Jul 2018 16:31:02 +0200 Subject: Fix current spec failures --- app/services/ci/register_job_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/services/ci/register_job_service.rb') diff --git a/app/services/ci/register_job_service.rb b/app/services/ci/register_job_service.rb index a6fddf3b7e4..11f85627faf 100644 --- a/app/services/ci/register_job_service.rb +++ b/app/services/ci/register_job_service.rb @@ -70,7 +70,7 @@ module Ci build.runner_id = runner.id build.runner_session_attributes = params[:session] if params[:session].present? - unless build.valid_build_dependencies? + unless build.has_valid_build_dependencies? build.drop!(:missing_dependency_failure) return false end -- cgit v1.2.1