Browse Source
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
phinze
12 years ago
15 changed files with 38 additions and 10 deletions
@ -1,5 +1,6 @@ |
|||
class Scrup < Cask |
|||
url 'http://hunch.se/scrup/dist/scrup-1.3.2.zip' |
|||
url 'http://data.hunch.se/scrup/Scrup-1.3.3-bd23160.zip' |
|||
homepage 'https://github.com/rsms/scrup' |
|||
version '1.3.2' |
|||
version '1.3.3' |
|||
sha1 '51ea66d5049fb231d28d285be8ccd5f75b467b97' |
|||
end |
|||
|
@ -0,0 +1,14 @@ |
|||
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 |
@ -1,4 +1,4 @@ |
|||
class TestCask < Cask |
|||
class BasicCask < TestCask |
|||
url 'http://example.com/TestCask.dmg' |
|||
homepage 'http://example.com/' |
|||
version '1.2.3' |
Loading…
Reference in new issue