@ -1,10 +1,10 @@
require 'test_helper'
describe "Casks" do
Cask.all.each do |cask|
Hbc.all.each do |cask|
describe "#{cask}" do
it "passes audit" do
audit = Cask::Audit.new(cask)
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"
@ -24,7 +24,7 @@ require 'minitest/autorun'
# require 'minitest-colorize'
# our baby
require 'cask'
require 'hbc'
# pretend like we installed the cask tap
project_root = Pathname.new(File.expand_path("#{File.dirname(__FILE__)}/../"))