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

14 lines
320 B
Ruby
Raw Normal View History

2020-10-10 14:16:11 +02:00
# typed: false
# frozen_string_literal: true
require "test/cask/dsl/shared_examples/base"
2016-08-18 22:11:42 +03:00
2018-09-06 08:29:14 +02:00
describe Cask::DSL::Caveats, :cask do
let(:cask) { Cask::CaskLoader.load(cask_path("basic-cask")) }
2019-07-23 17:09:57 +01:00
let(:dsl) { described_class.new(cask) }
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
# TODO: add tests for Caveats DSL methods
end