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/artifact/nested_container_spec.rb | |
| parent | 2c7ef064e4ff0833ac94a4f18f5049ad17c30b7c (diff) | |
| download | brew-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.rb | 2 |
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 |
