Expand dev-cmd/livecheck tests
This commit is contained in:
parent
ffc5c3206e
commit
c7080ba812
@ -21,4 +21,11 @@ describe "brew livecheck", :integration_test do
|
||||
.and not_to_output.to_stderr
|
||||
.and be_a_success
|
||||
end
|
||||
|
||||
it "gives an error when no arguments are given and there's no watchlist" do
|
||||
expect { brew "livecheck" }
|
||||
.to output(/Invalid usage: A watchlist file is required when no arguments are given\./).to_stderr
|
||||
.and not_to_output.to_stdout
|
||||
.and be_a_failure
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user