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

11 lines
307 B
Ruby
Raw Normal View History

# frozen_string_literal: true
require "test/cask/dsl/shared_examples/base"
2016-08-18 22:11:42 +03:00
RSpec.describe Cask::DSL::UninstallPostflight, :cask do
2018-09-06 08:29:14 +02:00
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