зеркало из https://github.com/mislav/hub.git
add failing test for branches with slashes in name
This commit is contained in:
Родитель
4072568cdc
Коммит
cb03a5f440
|
@ -1084,6 +1084,14 @@ config
|
|||
"open https://github.com/mislav/hub/commits/experimental"
|
||||
end
|
||||
|
||||
def test_hub_browse_on_complex_branch
|
||||
stub_branch('refs/heads/feature/foo')
|
||||
stub_tracking('feature/foo', 'mislav', 'feature/bar')
|
||||
|
||||
assert_command 'browse',
|
||||
'open https://github.com/mislav/hub/tree/feature/bar'
|
||||
end
|
||||
|
||||
def test_hub_browse_current
|
||||
assert_command "browse", "open https://github.com/defunkt/hub"
|
||||
assert_command "browse --", "open https://github.com/defunkt/hub"
|
||||
|
|
Загрузка…
Ссылка в новой задаче