blob: b93be95ff8a33994ac62534f8e3bb6b5cb2029b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
require "test/support/helper/spec/shared_examples/hbc_dsl_base"
require "test/support/helper/spec/shared_examples/hbc_staged"
describe Hbc::DSL::Preflight, :cask do
let(:cask) { Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/basic-cask.rb") }
let(:dsl) { Hbc::DSL::Preflight.new(cask, Hbc::FakeSystemCommand) }
it_behaves_like Hbc::DSL::Base
it_behaves_like Hbc::Staged do
let(:staged) { dsl }
end
end
|