
This makes use of both the existing interfaces and could use the existing cache file but we'll create a new one and cleanup the old one to avoid issues and use a more consistent name.
11 lines
284 B
Ruby
11 lines
284 B
Ruby
describe "brew desc", :integration_test do
|
|
it "shows a given Formula's description" do
|
|
setup_test_formula "testball"
|
|
|
|
expect { brew "desc", "testball" }
|
|
.to output("testball: Some test\n").to_stdout
|
|
.and not_to_output.to_stderr
|
|
.and be_a_success
|
|
end
|
|
end
|