brew/Library/Homebrew/test/test_integration_cmds_home.rb

13 lines
362 B
Ruby
Raw Normal View History

require "integration_cmds_tests"
class IntegrationCommandTestHome < IntegrationCommandTests
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