11 lines
313 B
Ruby
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
|