mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
11 lines
338 B
Ruby
11 lines
338 B
Ruby
require "helper/integration_command_test_case"
|
|
|
|
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
|