aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/cask/artifact/nested_container_spec.rb
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/artifact/nested_container_spec.rb
parent2c7ef064e4ff0833ac94a4f18f5049ad17c30b7c (diff)
downloadbrew-51a0de6368974eb3476369b819c3823feebebdce.tar.bz2
Directly save artifacts in DSL.
Diffstat (limited to 'Library/Homebrew/test/cask/artifact/nested_container_spec.rb')
-rw-r--r--Library/Homebrew/test/cask/artifact/nested_container_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/cask/artifact/nested_container_spec.rb b/Library/Homebrew/test/cask/artifact/nested_container_spec.rb
index 41d143764..65759b5b7 100644
--- a/Library/Homebrew/test/cask/artifact/nested_container_spec.rb
+++ b/Library/Homebrew/test/cask/artifact/nested_container_spec.rb
@@ -5,7 +5,7 @@ describe Hbc::Artifact::NestedContainer, :cask do
InstallHelper.install_without_artifacts(c)
end
- described_class.for_cask(cask)
+ cask.artifacts.select { |a| a.is_a?(described_class) }
.each { |artifact| artifact.install_phase(command: Hbc::NeverSudoSystemCommand, force: false) }
expect(cask.staged_path.join("MyNestedApp.app")).to be_a_directory