brew/Library/Homebrew/test/cask/artifact/uninstall_no_zap_spec.rb

18 lines
415 B
Ruby
Raw Normal View History

2017-03-05 19:26:56 +01:00
describe Hbc::Artifact::Zap, :cask do
let(:cask) { Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/with-installable.rb") }
let(:zap_artifact) {
described_class.for_cask(cask).first
}
2017-07-29 19:55:05 +02:00
before(:each) do
InstallHelper.install_without_artifacts(cask)
end
describe "#uninstall_phase" do
subject { zap_artifact }
it { is_expected.not_to respond_to(:uninstall_phase) }
end
end