diff --git a/Library/Homebrew/test/cmd/desc_spec.rb b/Library/Homebrew/test/cmd/desc_spec.rb index 1ceb790260964..512f35fbb12ce 100644 --- a/Library/Homebrew/test/cmd/desc_spec.rb +++ b/Library/Homebrew/test/cmd/desc_spec.rb @@ -30,4 +30,11 @@ .to output(/testball: Some test/).to_stdout .and not_to_output.to_stderr end + + it "successfully searches without --eval-all, with API", :integration_test do + setup_test_formula "testball" + + expect { brew "desc", "--search", "testball", "HOMEBREW_NO_INSTALL_FROM_API" => nil } + .to be_a_success + end end