From f4fb0615de48b239555a891dc04e278341ce1c48 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Thu, 23 Feb 2017 06:01:35 +0100 Subject: Convert `brew commands` test to spec. --- Library/Homebrew/test/cmd/commands_spec.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Library/Homebrew/test/cmd/commands_spec.rb (limited to 'Library/Homebrew/test/cmd') diff --git a/Library/Homebrew/test/cmd/commands_spec.rb b/Library/Homebrew/test/cmd/commands_spec.rb new file mode 100644 index 000000000..f42072956 --- /dev/null +++ b/Library/Homebrew/test/cmd/commands_spec.rb @@ -0,0 +1,7 @@ +describe "brew commands", :integration_test do + it "prints a list of all available commands" do + expect { brew "commands" } + .to output(/Built-in commands/).to_stdout + .and be_a_success + end +end -- cgit v1.2.3