mirror of
https://github.com/gosticks/brew.git
synced 2026-12-04 11:41:45 +00:00
Add test to ensure Zap does not have an uninstall_phase.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
require "spec_helper"
|
||||
|
||||
describe Hbc::Artifact::Zap do
|
||||
let(:cask) { Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/with-installable.rb") }
|
||||
|
||||
let(:zap_artifact) {
|
||||
Hbc::Artifact::Zap.new(cask)
|
||||
}
|
||||
|
||||
before do
|
||||
shutup do
|
||||
InstallHelper.install_without_artifacts(cask)
|
||||
end
|
||||
end
|
||||
|
||||
describe "#uninstall_phase" do
|
||||
subject { zap_artifact }
|
||||
|
||||
it { is_expected.not_to respond_to(:uninstall_phase) }
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user