brew/Library/Homebrew/test/home_test.rb

13 lines
354 B
Ruby
Raw Normal View History

require "testing_env"
2016-09-27 00:03:40 +02:00
class IntegrationCommandTestHome < IntegrationCommandTestCase
def test_home
setup_test_formula "testball"
assert_equal HOMEBREW_WWW,
cmd("home", "HOMEBREW_BROWSER" => "echo")
assert_equal Formula["testball"].homepage,
cmd("home", "testball", "HOMEBREW_BROWSER" => "echo")
end
end