Commit d7f8a0ce authored by Kamil Trzciński's avatar Kamil Trzciński

Fix spec failures

parent 270f858f
......@@ -344,7 +344,7 @@ module Ci
end
def runner_required_features
%w(variables)
[]
end
def merge_request
......@@ -602,7 +602,7 @@ module Ci
def supported_runner?(features)
runner_required_features.all? do |feature_name|
features[feature_name]
features&.dig(feature_name)
end
end
......
......@@ -47,7 +47,7 @@ class CommitStatus < ActiveRecord::Base
stuck_or_timeout_failure: 3,
runner_system_failure: 4,
missing_dependency_failure: 5,
runner_unsupported: 6,
runner_unsupported: 6
}
##
......
......@@ -83,7 +83,7 @@ module Ci
end
build.run!
return true
true
end
def builds_for_shared_runner
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment