diff options
| author | Markus Reiter | 2017-03-12 19:18:41 +0100 |
|---|---|---|
| committer | Markus Reiter | 2017-03-16 12:10:19 +0100 |
| commit | d1995dad4bf76b447d9c97f1c2db99c6b3854b51 (patch) | |
| tree | 8cecf7abf6193d6429a43c8daeb6d71f009119b9 /Library/Homebrew/test/cask/cli | |
| parent | c4d8b1696c90fa54f0e2f4bce3c734f7a657662b (diff) | |
| download | brew-d1995dad4bf76b447d9c97f1c2db99c6b3854b51.tar.bz2 | |
Use a `Formulary`-like approach to load Casks.
Diffstat (limited to 'Library/Homebrew/test/cask/cli')
| -rw-r--r-- | Library/Homebrew/test/cask/cli/list_spec.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/Library/Homebrew/test/cask/cli/list_spec.rb b/Library/Homebrew/test/cask/cli/list_spec.rb index e367e9588..b53eb169a 100644 --- a/Library/Homebrew/test/cask/cli/list_spec.rb +++ b/Library/Homebrew/test/cask/cli/list_spec.rb @@ -40,23 +40,6 @@ describe Hbc::CLI::List, :cask do end end - describe "when Casks have been renamed" do - let(:caskroom_path) { Hbc.caskroom.join("ive-been-renamed") } - let(:staged_path) { caskroom_path.join("latest") } - - before do - staged_path.mkpath - end - - it "lists installed Casks without backing ruby files (due to renames or otherwise)" do - expect { - Hbc::CLI::List.run - }.to output(<<-EOS.undent).to_stdout - ive-been-renamed (!) - EOS - end - end - describe "given a set of installed Casks" do let(:caffeine) { Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/local-caffeine.rb") } let(:transmission) { Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/local-transmission.rb") } |
