Skip to content
Snippets Groups Projects
Commit 2af49064 authored by Markus Reiter's avatar Markus Reiter
Browse files

Add test to ensure `Zap` does not have an `uninstall_phase`.

parent 486fa0bf
No related branches found
No related tags found
No related merge requests found
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment