brew/Library/Homebrew/test/global_spec.rb

11 lines
278 B
Ruby

# frozen_string_literal: true
describe "brew", :integration_test do
it "does not invoke `require \"formula\"` at startup" do
expect { brew "verify-formula-undefined" }
.to not_to_output.to_stdout
.and not_to_output.to_stderr
.and be_a_success
end
end