blob: 3e9a549ea0e5bfca7e521c71d79c748175a35cd4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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|
InstallHelper.install_without_artifacts(c)
end
shutup do
Hbc::Artifact::NestedContainer.new(cask).install_phase
end
expect(cask.staged_path.join("MyNestedApp.app")).to be_a_directory
end
end
end
|