11 lines
321 B
Ruby
11 lines
321 B
Ruby
![]() |
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
|