Use odeprecated rather than remove it entirely
* Fix IntegrationCommandTestCask
This commit is contained in:
parent
d4927815a5
commit
81082303dc
@ -204,6 +204,10 @@ module Hbc
|
|||||||
@sha256 ||= arg
|
@sha256 ||= arg
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def license(arg = nil)
|
||||||
|
odeprecated "Hbc::DSL#license"
|
||||||
|
end
|
||||||
|
|
||||||
# depends_on uses a load method so that multiple stanzas can be merged
|
# depends_on uses a load method so that multiple stanzas can be merged
|
||||||
def depends_on(*args)
|
def depends_on(*args)
|
||||||
return @depends_on if args.empty?
|
return @depends_on if args.empty?
|
||||||
|
|||||||
@ -5,6 +5,6 @@ class IntegrationCommandTestCask < IntegrationCommandTestCase
|
|||||||
needs_test_cmd_taps
|
needs_test_cmd_taps
|
||||||
needs_macos
|
needs_macos
|
||||||
setup_remote_tap("caskroom/cask")
|
setup_remote_tap("caskroom/cask")
|
||||||
cmd("cask", "list")
|
cmd("cask", "list", "--caskroom=#{HOMEBREW_PREFIX}/Caskroom")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user