repair zap spec

This commit is contained in:
hyuraku 2023-03-06 21:41:41 +09:00
parent e0416e0f65
commit 122b24e9ff

View File

@ -252,11 +252,8 @@ describe Cask::Installer, :cask do
end end
end end
context "add zap" do it "zap method reinstall cask" do
let(:path) { cask_path("local-caffeine") } caffeine = Cask::CaskLoader.load(cask_path("local-caffeine"))
it "reinstall cask" do
caffeine = Cask::CaskLoader.load(path)
described_class.new(caffeine).install described_class.new(caffeine).install
expect(caffeine).to be_installed expect(caffeine).to be_installed
@ -267,7 +264,6 @@ describe Cask::Installer, :cask do
expect(caffeine.config.appdir.join("Caffeine.app")).not_to be_a_symlink expect(caffeine.config.appdir.join("Caffeine.app")).not_to be_a_symlink
end end
end end
end
describe "uninstall" do describe "uninstall" do
it "fully uninstalls a Cask" do it "fully uninstalls a Cask" do