brew/Library/Homebrew/test/test_home.rb

13 lines
379 B
Ruby
Raw Normal View History

2016-09-27 00:03:40 +02:00
require "helper/integration_command_test_case"
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