|
|
@ -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 |
|
|
|