mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-17 14:26:45 -06:00
this way travis will be able to cover incoming pull requests of new casks by running the audit on them. cool! also: - add checksums to audit - fix missing checksums
14 lines
399 B
Ruby
14 lines
399 B
Ruby
require 'test_helper'
|
|
|
|
describe "Casks" do
|
|
Cask.all.reject {|c| c.is_a?(TestCask) }.each do |cask|
|
|
describe "#{cask}" do
|
|
it "passes audit" do
|
|
audit = Cask::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
|