aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/cask/cli
diff options
context:
space:
mode:
authorMarkus Reiter2017-10-04 17:08:35 +0200
committerMarkus Reiter2017-10-04 18:47:55 +0200
commit51a0de6368974eb3476369b819c3823feebebdce (patch)
tree9cd1dc66b7d489042e08577aa372c6afa828594f /Library/Homebrew/test/cask/cli
parent2c7ef064e4ff0833ac94a4f18f5049ad17c30b7c (diff)
downloadbrew-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.rb2
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 {