2014-08-11 13:04:18 +08:00
|
|
|
require "test_helper"
|
|
|
|
|
2015-01-01 22:08:06 +08:00
|
|
|
describe Hbc::DSL::UninstallPreflight do
|
2014-08-11 13:04:18 +08:00
|
|
|
before do
|
2015-01-01 22:08:06 +08:00
|
|
|
cask = Hbc.load('basic-cask')
|
|
|
|
@dsl = Hbc::DSL::UninstallPreflight.new(cask, Hbc::FakeSystemCommand)
|
2014-08-11 13:04:18 +08:00
|
|
|
end
|
2015-08-02 13:41:29 +08:00
|
|
|
|
2015-12-22 08:29:00 +08:00
|
|
|
it_behaves_like Hbc::Staged do
|
|
|
|
let(:staged) { @dsl }
|
2015-08-02 13:41:29 +08:00
|
|
|
end
|
2014-08-11 13:04:18 +08:00
|
|
|
end
|