Skip to content
Snippets Groups Projects
Commit 92e2e7a2 authored by Markus Reiter's avatar Markus Reiter
Browse files

Convert DMG test to spec.

parent 4de74bf7
No related branches found
No related tags found
No related merge requests found
require "test_helper"
require "spec_helper"
describe Hbc::Container::Dmg do
describe "mount!" 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")
......@@ -13,7 +13,7 @@ describe Hbc::Container::Dmg do
begin
dmg.mount!
dmg.mounts.wont_include nil
expect(dmg.mounts).not_to include nil
ensure
dmg.eject!
end
......
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