mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-16 22:06:43 -06:00
Hbc is the namespace, Hbc::Cask is the object representing a Cask One step on the path to reducing the surface area of the God-object we've grown over the years. :)
14 lines
402 B
Ruby
14 lines
402 B
Ruby
require 'test_helper'
|
|
|
|
describe "Casks" do
|
|
Hbc.all.reject {|c| c.is_a?(Hbc::TestCask) }.each do |cask|
|
|
describe "#{cask}" do
|
|
it "passes audit" do
|
|
audit = Hbc::Audit.new(cask)
|
|
audit.run!
|
|
audit.errors.must_equal [], "[#{cask}] Cask audit must be error free"
|
|
audit.warnings.must_equal [], "[#{cask}] Cask audit must be warning free"
|
|
end
|
|
end
|
|
end
|
|
end
|