Skip to content
Snippets Groups Projects
Unverified Commit 77b49164 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #11326 from MikeMcQuaid/delete-flaky-test

cask/installer_spec: delete flaky test.
parents 7d6f9f6e 4f362178
No related branches found
No related tags found
No related merge requests found
......@@ -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"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment