You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
367 B
14 lines
367 B
require 'test_helper'
|
|
|
|
describe "Casks" do
|
|
Cask.all.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
|
|
|