Use odeprecated rather than remove it entirely

* Fix IntegrationCommandTestCask
This commit is contained in:
David Yun 2016-10-07 01:16:06 +08:00
parent d4927815a5
commit 81082303dc
2 changed files with 5 additions and 1 deletions

View File

@ -204,6 +204,10 @@ module Hbc
@sha256 ||= arg
end
def license(arg = nil)
odeprecated "Hbc::DSL#license"
end
# depends_on uses a load method so that multiple stanzas can be merged
def depends_on(*args)
return @depends_on if args.empty?

View File

@ -5,6 +5,6 @@ class IntegrationCommandTestCask < IntegrationCommandTestCase
needs_test_cmd_taps
needs_macos
setup_remote_tap("caskroom/cask")
cmd("cask", "list")
cmd("cask", "list", "--caskroom=#{HOMEBREW_PREFIX}/Caskroom")
end
end