Merge pull request #11326 from MikeMcQuaid/delete-flaky-test
cask/installer_spec: delete flaky test.
This commit is contained in:
commit
77b491642f
@ -25,24 +25,6 @@ describe Cask::Installer, :cask do
|
||||
expect(asset.config.appdir.join("container")).to be_a_file
|
||||
end
|
||||
|
||||
it "works with APFS dmg-based Casks" do
|
||||
asset = Cask::CaskLoader.load(cask_path("container-apfs-dmg"))
|
||||
diskutil_list_command = "diskutil list | grep '/dev'"
|
||||
|
||||
sleep 5
|
||||
original_diskutil_list = `#{diskutil_list_command}`
|
||||
|
||||
described_class.new(asset).install
|
||||
|
||||
expect(Cask::Caskroom.path.join("container-apfs-dmg", asset.version)).to be_a_directory
|
||||
expect(asset.config.appdir.join("container")).to be_a_file
|
||||
|
||||
sleep 5
|
||||
expect { system diskutil_list_command }
|
||||
.to output(original_diskutil_list)
|
||||
.to_stdout_from_any_process
|
||||
end
|
||||
|
||||
it "works with tar-gz-based Casks" do
|
||||
asset = Cask::CaskLoader.load(cask_path("container-tar-gz"))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user