diff options
| author | Markus Reiter | 2017-10-04 17:08:35 +0200 | 
|---|---|---|
| committer | Markus Reiter | 2017-10-04 18:47:55 +0200 | 
| commit | 51a0de6368974eb3476369b819c3823feebebdce (patch) | |
| tree | 9cd1dc66b7d489042e08577aa372c6afa828594f /Library/Homebrew/test/cask/cli | |
| parent | 2c7ef064e4ff0833ac94a4f18f5049ad17c30b7c (diff) | |
| download | brew-51a0de6368974eb3476369b819c3823feebebdce.tar.bz2 | |
Directly save artifacts in DSL.
Diffstat (limited to 'Library/Homebrew/test/cask/cli')
| -rw-r--r-- | Library/Homebrew/test/cask/cli/list_spec.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/cask/cli/list_spec.rb b/Library/Homebrew/test/cask/cli/list_spec.rb index 75da82762..4f59aafe9 100644 --- a/Library/Homebrew/test/cask/cli/list_spec.rb +++ b/Library/Homebrew/test/cask/cli/list_spec.rb @@ -72,7 +72,7 @@ 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) +      transmission.artifacts.select { |a| a.is_a?(Hbc::Artifact::App) }          .each { |artifact| artifact.install_phase(command: Hbc::NeverSudoSystemCommand, force: false) }        expect {  | 
