brew/Library/Homebrew/test/cask/dsl/preflight_spec.rb
Mike McQuaid 90b3a13909
cask: move cask/lib/hbc/* to cask/*.
Fix the load path, requires and some filenames accordingly.
2018-09-04 09:56:57 +01:00

14 lines
399 B
Ruby

require "test/support/helper/spec/shared_examples/cask_dsl_base"
require "test/support/helper/spec/shared_examples/cask_staged"
describe Hbc::DSL::Preflight, :cask do
let(:cask) { Hbc::CaskLoader.load(cask_path("basic-cask")) }
let(:dsl) { Hbc::DSL::Preflight.new(cask, FakeSystemCommand) }
it_behaves_like Hbc::DSL::Base
it_behaves_like Hbc::Staged do
let(:staged) { dsl }
end
end