diff options
| author | Markus Reiter | 2017-10-07 00:32:42 +0200 |
|---|---|---|
| committer | GitHub | 2017-10-07 00:32:42 +0200 |
| commit | 8f43d6b9f77b0ec50a0d891851bc844661e64fff (patch) | |
| tree | 2b67c9741f43300ea43549ca3b8e2ad4256c1522 /Library/Homebrew/test/cask/cli | |
| parent | 708c4e0ebd26f6a28e8071ed3a052bc75c18cfb4 (diff) | |
| parent | e9c587d7510ca6fe820bbc03db5bb6d0b9672c22 (diff) | |
| download | brew-8f43d6b9f77b0ec50a0d891851bc844661e64fff.tar.bz2 | |
Merge pull request #3267 from reitermarkus/refactoring
Refactor DSL and Artifact classes.
Diffstat (limited to 'Library/Homebrew/test/cask/cli')
| -rw-r--r-- | Library/Homebrew/test/cask/cli/list_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Homebrew/test/cask/cli/list_spec.rb b/Library/Homebrew/test/cask/cli/list_spec.rb index 75da82762..6a92289aa 100644 --- a/Library/Homebrew/test/cask/cli/list_spec.rb +++ b/Library/Homebrew/test/cask/cli/list_spec.rb @@ -72,8 +72,9 @@ describe Hbc::CLI::List, :cask do it "lists the installed files for those Casks" do casks.each(&InstallHelper.method(:install_without_artifacts_with_caskfile)) - Hbc::Artifact::App.for_cask(transmission) - .each { |artifact| artifact.install_phase(command: Hbc::NeverSudoSystemCommand, force: false) } + transmission.artifacts.select { |a| a.is_a?(Hbc::Artifact::App) }.each do |artifact| + artifact.install_phase(command: Hbc::NeverSudoSystemCommand, force: false) + end expect { described_class.run("local-transmission", "local-caffeine") |
