2017-03-04 22:59:13 +01:00
|
|
|
require "test/support/helper/spec/shared_examples/hbc_dsl_base"
|
|
|
|
require "test/support/helper/spec/shared_examples/hbc_staged"
|
2016-08-18 22:11:42 +03:00
|
|
|
|
2017-03-05 19:26:56 +01:00
|
|
|
describe Hbc::DSL::UninstallPreflight, :cask do
|
2017-10-07 15:58:49 +02:00
|
|
|
let(:cask) { Hbc::CaskLoader.load(cask_path("basic-cask")) }
|
2016-08-18 22:11:42 +03:00
|
|
|
let(:dsl) { Hbc::DSL::UninstallPreflight.new(cask, Hbc::FakeSystemCommand) }
|
|
|
|
|
|
|
|
it_behaves_like Hbc::DSL::Base
|
|
|
|
|
|
|
|
it_behaves_like Hbc::Staged do
|
|
|
|
let(:staged) { dsl }
|
|
|
|
end
|
|
|
|
end
|