dsl_test: unset HOMEBREW_DEVELOPER to avoid deprecation errors
This commit is contained in:
parent
fef8f143e8
commit
eebf535bee
@ -69,6 +69,7 @@ describe Hbc::DSL do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it "may use deprecated DSL version hash syntax" do
|
it "may use deprecated DSL version hash syntax" do
|
||||||
|
with_environment "HOMEBREW_DEVELOPER" => nil do
|
||||||
test_cask = Hbc.load("with-dsl-version")
|
test_cask = Hbc.load("with-dsl-version")
|
||||||
test_cask.token.must_equal "with-dsl-version"
|
test_cask.token.must_equal "with-dsl-version"
|
||||||
test_cask.url.to_s.must_equal "http://example.com/TestCask.dmg"
|
test_cask.url.to_s.must_equal "http://example.com/TestCask.dmg"
|
||||||
@ -76,6 +77,7 @@ describe Hbc::DSL do
|
|||||||
test_cask.version.to_s.must_equal "1.2.3"
|
test_cask.version.to_s.must_equal "1.2.3"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
describe "name stanza" do
|
describe "name stanza" do
|
||||||
it "lets you set the full name via a name stanza" do
|
it "lets you set the full name via a name stanza" do
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user