test/dev-cmd/bottle: Mark the bottling test as needs_network

- I was on a plane and this failed with:

```
expected block to not output to stderr, but output
"curl: (6) Could not resolve host: spdx.github.io\nWarning: Failed to fetch SBOM schema, cannot perform SBOM validation!
Warning: Could not fetch JSON schema to validate SBOM!\nWarning: SBOM is not valid, not writing to disk!"
```
This commit is contained in:
Issy Long 2024-07-11 18:56:39 +01:00
parent 8c4c7319fc
commit d7123d43c7
No known key found for this signature in database

View File

@ -32,7 +32,7 @@ RSpec.describe Homebrew::DevCmd::Bottle do
it_behaves_like "parseable arguments"
it "builds a bottle for the given Formula", :integration_test do
it "builds a bottle for the given Formula", :integration_test, :needs_network do
install_test_formula "testball", build_bottle: true
# `brew bottle` should not fail with dead symlink