brew/Library/Homebrew/test/repository_test.rb
2016-11-16 23:52:38 +01:00

11 lines
313 B
Ruby

require "testing_env"
class IntegrationCommandTestRepository < IntegrationCommandTestCase
def test_repository
assert_match HOMEBREW_REPOSITORY.to_s,
cmd("--repository")
assert_match "#{HOMEBREW_LIBRARY}/Taps/foo/homebrew-bar",
cmd("--repository", "foo/bar")
end
end