diff options
| author | Markus Reiter | 2017-10-07 15:58:49 +0200 |
|---|---|---|
| committer | Markus Reiter | 2017-10-07 16:11:25 +0200 |
| commit | 97333df4cb4bd006401193639400a8bc6df56e3a (patch) | |
| tree | d04a2c243da0486c4e3248e74f392c6716c8bf88 /Library/Homebrew/test/cask/artifact/nested_container_spec.rb | |
| parent | 113e5da55e630018cba9da19f4d3b268c2e7ee37 (diff) | |
| download | brew-97333df4cb4bd006401193639400a8bc6df56e3a.tar.bz2 | |
Add helper method for Cask fixture paths and refactor CaskLoader.
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..ef23c3fd7 100644 --- a/Library/Homebrew/test/cask/artifact/nested_container_spec.rb +++ b/Library/Homebrew/test/cask/artifact/nested_container_spec.rb @@ -1,7 +1,7 @@ describe Hbc::Artifact::NestedContainer, :cask do describe "install" do it "extracts the specified paths as containers" do - cask = Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/nested-app.rb").tap do |c| + cask = Hbc::CaskLoader.load(cask_path("nested-app")).tap do |c| InstallHelper.install_without_artifacts(c) end |
