Fix utils/autoremove
tests
This commit is contained in:
parent
f724e00830
commit
9153a22fc9
@ -65,7 +65,8 @@ RSpec.describe Utils::Autoremove do
|
|||||||
include_context "with formulae for dependency testing"
|
include_context "with formulae for dependency testing"
|
||||||
|
|
||||||
before do
|
before do
|
||||||
allow(Formulary).to receive(:factory).with("three", { warn: false }).and_return(formula_is_build_dep)
|
allow(Formulary).to receive(:factory).with("three", { prefer_stub: false, warn: false })
|
||||||
|
.and_return(formula_is_build_dep)
|
||||||
end
|
end
|
||||||
|
|
||||||
context "when formulae are bottles" do
|
context "when formulae are bottles" do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user