Add :needs_network to brew prof tests

They need network access to download the profiler gems.

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Kevin 2023-01-02 10:02:51 -08:00 committed by GitHub
parent d318c56013
commit 073c004ef3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ require "cmd/shared_examples/args_parse"
describe "brew prof" do
it_behaves_like "parseable arguments"
describe "integration tests", :integration_test do
describe "integration tests", :integration_test, :needs_network do
after do
FileUtils.rm_rf HOMEBREW_LIBRARY_PATH/"prof"
end