From ad1fa738effa8b0ed8b8c205c6144513158c106f Mon Sep 17 00:00:00 2001 From: Kaito Udagawa Date: Thu, 10 Nov 2016 07:52:33 +0900 Subject: [PATCH] cask-test: fix reinstall a non installed Cask Trying to uninstall a non installed Cask made this test fail. This commit remove that and thus this test passes. Note that every Cask is uninstalled after each test case. --- Library/Homebrew/cask/test/cask/cli/reinstall_test.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/Library/Homebrew/cask/test/cask/cli/reinstall_test.rb b/Library/Homebrew/cask/test/cask/cli/reinstall_test.rb index 22f0d23fd2..02cdeb763a 100644 --- a/Library/Homebrew/cask/test/cask/cli/reinstall_test.rb +++ b/Library/Homebrew/cask/test/cask/cli/reinstall_test.rb @@ -14,9 +14,6 @@ describe Hbc::CLI::Reinstall do end it "allows reinstalling a non installed Cask" do - shutup do - Hbc::CLI::Uninstall.run("local-transmission") - end Hbc.load("local-transmission").wont_be :installed? shutup do