aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/cask/cli/reinstall_spec.rb
diff options
context:
space:
mode:
authorMarkus Reiter2017-10-03 10:49:58 +0200
committerMarkus Reiter2017-10-03 10:56:40 +0200
commit643b2a168c6c5b2f21b141ec385fc49d29c41718 (patch)
treeae9f32f7283806d2e1878bb4aa8932b2fbacb2de /Library/Homebrew/test/cask/cli/reinstall_spec.rb
parentec0d8fa7ba18f4fe05c5241258502c8db332b13d (diff)
downloadbrew-643b2a168c6c5b2f21b141ec385fc49d29c41718.tar.bz2
Refactor `cask/cli` specs.
Diffstat (limited to 'Library/Homebrew/test/cask/cli/reinstall_spec.rb')
-rw-r--r--Library/Homebrew/test/cask/cli/reinstall_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/test/cask/cli/reinstall_spec.rb b/Library/Homebrew/test/cask/cli/reinstall_spec.rb
index 3a9c3e2f5..073fbb23c 100644
--- a/Library/Homebrew/test/cask/cli/reinstall_spec.rb
+++ b/Library/Homebrew/test/cask/cli/reinstall_spec.rb
@@ -1,4 +1,8 @@
+require_relative "shared_examples/invalid_option"
+
describe Hbc::CLI::Reinstall, :cask do
+ it_behaves_like "a command that handles invalid options"
+
it "displays the reinstallation progress" do
caffeine = Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/local-caffeine.rb")