From 7b8df986c7332912a7fc08d8c61bc533d2e1dfe7 Mon Sep 17 00:00:00 2001 From: Rylan Polster Date: Tue, 25 Jun 2024 19:08:50 -0400 Subject: [PATCH] Fix SBOM test --- Library/Homebrew/test/sbom_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/test/sbom_spec.rb b/Library/Homebrew/test/sbom_spec.rb index c270b2a0fda50..e162f3a0d5d0b 100644 --- a/Library/Homebrew/test/sbom_spec.rb +++ b/Library/Homebrew/test/sbom_spec.rb @@ -59,7 +59,7 @@ "declared_directly" => true, } end - expect(Tab).to receive(:runtime_deps_hash).and_return(runtime_deps_hash) + expect(Tab).to receive(:formula_runtime_deps_hash).and_return(runtime_deps_hash) tab = Tab.create(f, DevelopmentTools.default_compiler, :libcxx) expect(Formulary).to receive(:factory).with("beanstalkd").and_return(beanstalkd)