Rename cab-container to container-cab.
This commit is contained in:
parent
5504e2c132
commit
978567f9fd
@ -43,7 +43,7 @@ describe Hbc::Installer do
|
|||||||
|
|
||||||
it "works with cab-based Casks" do
|
it "works with cab-based Casks" do
|
||||||
skip("cabextract not installed") unless Hbc.homebrew_prefix.join("bin", "cabextract").exist?
|
skip("cabextract not installed") unless Hbc.homebrew_prefix.join("bin", "cabextract").exist?
|
||||||
asset = Hbc.load("cab-container")
|
asset = Hbc.load("container-cab")
|
||||||
empty = stub(formula: [], cask: [], macos: nil, arch: nil, x11: nil)
|
empty = stub(formula: [], cask: [], macos: nil, arch: nil, x11: nil)
|
||||||
asset.stubs(:depends_on).returns(empty)
|
asset.stubs(:depends_on).returns(empty)
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ describe Hbc::Installer do
|
|||||||
Hbc::Installer.new(asset).install
|
Hbc::Installer.new(asset).install
|
||||||
end
|
end
|
||||||
|
|
||||||
dest_path = Hbc.caskroom.join("cab-container", asset.version)
|
dest_path = Hbc.caskroom.join("container-cab", asset.version)
|
||||||
dest_path.must_be :directory?
|
dest_path.must_be :directory?
|
||||||
application = Hbc.appdir.join("container")
|
application = Hbc.appdir.join("container")
|
||||||
application.must_be :file?
|
application.must_be :file?
|
||||||
|
|||||||
@ -7,5 +7,5 @@ test_cask 'container-cab' do
|
|||||||
|
|
||||||
depends_on formula: 'cabextract'
|
depends_on formula: 'cabextract'
|
||||||
|
|
||||||
app 'cabcontainer/Application.app'
|
app 'container'
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user