Add test for brew info --json=v1

This commit is contained in:
alexbostock 2018-09-16 22:06:42 +01:00
parent 193b5aa07a
commit a4020db526

View File

@ -8,6 +8,11 @@ describe "brew info", :integration_test do
.to output(/testball: stable 0.1/).to_stdout .to output(/testball: stable 0.1/).to_stdout
.and not_to_output.to_stderr .and not_to_output.to_stderr
.and be_a_success .and be_a_success
expect { brew "info", "testball", "--json=v1" }
.to output(/\{.+testball.+\}/).to_stdout
.and not_to_output.to_stderr
.and be_a_success
end end
end end