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

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