Merge pull request #19239 from Homebrew/add-needs-network-to-desc-test

tests: add missing :needs_network argument
This commit is contained in:
Kevin 2025-02-05 07:30:14 +00:00 committed by GitHub
commit 16c2d9285d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,7 +31,7 @@ RSpec.describe Homebrew::Cmd::Desc do
.and not_to_output.to_stderr
end
it "successfully searches without --eval-all, with API", :integration_test do
it "successfully searches without --eval-all, with API", :integration_test, :needs_network do
setup_test_formula "testball"
expect { brew "desc", "--search", "testball", "HOMEBREW_NO_INSTALL_FROM_API" => nil }