diff options
| author | Markus Reiter | 2017-02-23 06:01:35 +0100 |
|---|---|---|
| committer | Markus Reiter | 2017-02-23 21:28:25 +0100 |
| commit | f4fb0615de48b239555a891dc04e278341ce1c48 (patch) | |
| tree | 1428b620b7dd2c8ab4318d8526cd7e172857fcbc /Library/Homebrew/test/cmd | |
| parent | c7121f6be50e44784e3e29114617c29715bd9c0f (diff) | |
| download | brew-f4fb0615de48b239555a891dc04e278341ce1c48.tar.bz2 | |
Convert `brew commands` test to spec.
Diffstat (limited to 'Library/Homebrew/test/cmd')
| -rw-r--r-- | Library/Homebrew/test/cmd/commands_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
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 |
