
There’s too many warnings to start enabling `rubocop-rspec` by default but let’s at least apply the cleanups it does automatically.
18 lines
394 B
Ruby
18 lines
394 B
Ruby
describe Hbc::Artifact::Zap, :cask do
|
|
let(:cask) { Hbc::CaskLoader.load(cask_path("with-installable")) }
|
|
|
|
let(:zap_artifact) {
|
|
cask.artifacts.find { |a| a.is_a?(described_class) }
|
|
}
|
|
|
|
before 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
|