aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/test
diff options
context:
space:
mode:
authorMarkus Reiter2017-02-09 03:31:55 +0100
committerMarkus Reiter2017-02-10 17:19:19 +0100
commit92e2e7a21665aad705d76b90735aed854b7a09f5 (patch)
tree99c6b7da59e8aff0821ff670a39a7f02f6f169a0 /Library/Homebrew/cask/test
parent4de74bf744ff3006da32bf592735718fec9798d6 (diff)
downloadbrew-92e2e7a21665aad705d76b90735aed854b7a09f5.tar.bz2
Convert DMG test to spec.
Diffstat (limited to 'Library/Homebrew/cask/test')
-rw-r--r--Library/Homebrew/cask/test/cask/container/dmg_test.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/Library/Homebrew/cask/test/cask/container/dmg_test.rb b/Library/Homebrew/cask/test/cask/container/dmg_test.rb
deleted file mode 100644
index 67161c580..000000000
--- a/Library/Homebrew/cask/test/cask/container/dmg_test.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-require "test_helper"
-
-describe Hbc::Container::Dmg do
- describe "mount!" do
- it "does not store nil mounts for dmgs with extra data" do
- transmission = Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/local-transmission.rb")
-
- dmg = Hbc::Container::Dmg.new(
- transmission,
- Pathname(transmission.url.path),
- Hbc::SystemCommand
- )
-
- begin
- dmg.mount!
- dmg.mounts.wont_include nil
- ensure
- dmg.eject!
- end
- end
- end
-end