dependency: disable renamed formula warning
This commit is contained in:
parent
5ee6e967da
commit
77c23df526
@ -41,7 +41,7 @@ class Dependency
|
||||
end
|
||||
|
||||
def to_formula
|
||||
formula = Formulary.factory(name)
|
||||
formula = Formulary.factory(name, warn: false)
|
||||
formula.build = BuildOptions.new(options, formula.options)
|
||||
formula
|
||||
end
|
||||
|
||||
@ -54,7 +54,7 @@ describe Utils::Autoremove do
|
||||
include_context "with formulae for dependency testing"
|
||||
|
||||
before do
|
||||
allow(Formulary).to receive(:factory).with("three").and_return(formula_is_build_dep)
|
||||
allow(Formulary).to receive(:factory).with("three", { warn: false }).and_return(formula_is_build_dep)
|
||||
end
|
||||
|
||||
context "when formulae are bottles" do
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user