diff options
| author | Markus Reiter | 2018-01-27 23:49:29 +0100 |
|---|---|---|
| committer | GitHub | 2018-01-27 23:49:29 +0100 |
| commit | 9b2610b0adc84db194c5e735f3b385ead5a96fd3 (patch) | |
| tree | d79c6d8aa1a650a3f71312433fabed94fcfdebf6 /Library/Homebrew/test/cask/cli/install_spec.rb | |
| parent | d558ec09332c74927dfb9182b19e11c5a73d8b52 (diff) | |
| parent | b4df0246256519cf3879263eb7447cfcd5498491 (diff) | |
| download | brew-9b2610b0adc84db194c5e735f3b385ead5a96fd3.tar.bz2 | |
Merge pull request #3524 from reitermarkus/config
Add `Hbc::Config` class.
Diffstat (limited to 'Library/Homebrew/test/cask/cli/install_spec.rb')
| -rw-r--r-- | Library/Homebrew/test/cask/cli/install_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/cask/cli/install_spec.rb b/Library/Homebrew/test/cask/cli/install_spec.rb index 25d6cdc93..cc5450c79 100644 --- a/Library/Homebrew/test/cask/cli/install_spec.rb +++ b/Library/Homebrew/test/cask/cli/install_spec.rb @@ -23,9 +23,9 @@ describe Hbc::CLI::Install, :cask do described_class.run("local-transmission", "local-caffeine") expect(Hbc::CaskLoader.load(cask_path("local-transmission"))).to be_installed - expect(Hbc.appdir.join("Transmission.app")).to be_a_directory + expect(Hbc::Config.global.appdir.join("Transmission.app")).to be_a_directory expect(Hbc::CaskLoader.load(cask_path("local-caffeine"))).to be_installed - expect(Hbc.appdir.join("Caffeine.app")).to be_a_directory + expect(Hbc::Config.global.appdir.join("Caffeine.app")).to be_a_directory end it "skips double install (without nuking existing installation)" do |
