Commit 9eabd723 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Remove unused method from CI/CD YAML processor

parent 96a7e162
......@@ -32,12 +32,6 @@ module Ci
end
end
def builds_for_ref(ref, tag = false, source = nil)
jobs_for_ref(ref, tag, source).map do |name, _|
build_attributes(name)
end
end
def builds_for_stage_and_ref(stage, ref, tag = false, source = nil)
jobs_for_stage_and_ref(stage, ref, tag, source).map do |name, _|
build_attributes(name)
......
......@@ -206,7 +206,7 @@ module Ci
end
end
describe "#builds_for_ref" do
describe "#builds_for_stage_and_ref" do
let(:type) { 'test' }
it "returns builds if no branch specified" do
......
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