brew/Library/Homebrew/test/cask/dsl/uninstall_postflight_spec.rb

12 lines
316 B
Ruby
Raw Normal View History

2020-10-10 14:16:11 +02:00
# typed: false
# frozen_string_literal: true
require "test/cask/dsl/shared_examples/base"
2016-08-18 22:11:42 +03:00
2018-09-06 08:29:14 +02:00
describe Cask::DSL::UninstallPostflight, :cask do
let(:cask) { Cask::CaskLoader.load(cask_path("basic-cask")) }
2020-11-23 02:05:50 +01:00
let(:dsl) { described_class.new(cask, class_double(SystemCommand)) }
2016-08-18 22:11:42 +03:00
2018-09-06 08:29:14 +02:00
it_behaves_like Cask::DSL::Base
2016-08-18 22:11:42 +03:00
end