brew/Library/Homebrew/test/test_integration_cmds_repository.rb

11 lines
321 B
Ruby
Raw Normal View History

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