Dummy Adobe Air app.
This commit is contained in:
parent
3d0e7a572f
commit
f036cc0bc5
@ -59,15 +59,15 @@ describe Hbc::Installer do
|
|||||||
|
|
||||||
it "works with Adobe AIR-based Casks" do
|
it "works with Adobe AIR-based Casks" do
|
||||||
skip("Adobe AIR not installed") unless Hbc::Container::Air.installer_exist?
|
skip("Adobe AIR not installed") unless Hbc::Container::Air.installer_exist?
|
||||||
air_container = Hbc.load("adobe-air-container")
|
asset = Hbc.load("container-air")
|
||||||
|
|
||||||
shutup do
|
shutup do
|
||||||
Hbc::Installer.new(air_container).install
|
Hbc::Installer.new(asset).install
|
||||||
end
|
end
|
||||||
|
|
||||||
dest_path = Hbc.caskroom.join("adobe-air-container", air_container.version)
|
dest_path = Hbc.caskroom.join("container-air", asset.version)
|
||||||
dest_path.must_be :directory?
|
dest_path.must_be :directory?
|
||||||
application = Hbc.appdir.join("GMDesk.app")
|
application = Hbc.appdir.join("container.app")
|
||||||
application.must_be :directory?
|
application.must_be :directory?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -1,9 +0,0 @@
|
|||||||
test_cask 'adobe-air-container' do
|
|
||||||
version '1.0.1'
|
|
||||||
sha256 '9b6e4174afa76f2af50238364fcf87525bc4ed2287acbe62925107ab6cda5c99'
|
|
||||||
|
|
||||||
url TestHelper.local_binary_url('GMDesk-1.01.air')
|
|
||||||
homepage 'http://robertnyman.com/gmdesk/'
|
|
||||||
|
|
||||||
app 'GMDesk.app'
|
|
||||||
end
|
|
||||||
@ -0,0 +1,9 @@
|
|||||||
|
test_cask 'container-air' do
|
||||||
|
version '0.1'
|
||||||
|
sha256 '554472e163f8a028629b12b468e29acda9f16b223dff74fcd218bba73cc2365a'
|
||||||
|
|
||||||
|
url TestHelper.local_binary_url('container.air')
|
||||||
|
homepage 'https://example.com/container-air'
|
||||||
|
|
||||||
|
app 'container.app'
|
||||||
|
end
|
||||||
Binary file not shown.
BIN
Library/Homebrew/cask/test/support/binaries/container.air
Normal file
BIN
Library/Homebrew/cask/test/support/binaries/container.air
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user