aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_home.rb
blob: 9c26353becc75c58bc717de1bf3072452798eb8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require "helper/integration_command_test_case"

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