Browse Source

remove mock-filled test for Cask.init

phinze 12 years ago
parent
commit
c8621c92c1
  1. 10
      test/cask_test.rb

10
test/cask_test.rb

@ -22,14 +22,4 @@ describe Cask do
all_casks.each { |cask| cask.must_be_kind_of String }
end
end
describe "init" do
it "sets up dependent directories required for us to properly function" do
HOMEBREW_CACHE.stubs(:exist?).returns(false)
Cask.appdir.stubs(:exist?).returns(false)
HOMEBREW_CACHE.expects :mkpath
Cask.appdir.expects :mkpath
Cask.init
end
end
end

Loading…
Cancel
Save