зеркало из https://github.com/mislav/hub.git
add scenario for `remote set-url` functionality
This commit is contained in:
Родитель
f8419629c5
Коммит
501dbba80f
|
@ -74,6 +74,12 @@ Feature: hub remote add
|
|||
Then the url for "mm" should be "git://github.com/mislav/dotfiles.git"
|
||||
And there should be no output
|
||||
|
||||
Scenario: set-url
|
||||
Given the "origin" remote has url "git://github.com/evilchelu/dotfiles.git"
|
||||
When I successfully run `hub remote set-url origin mislav`
|
||||
Then the url for "origin" should be "git://github.com/mislav/dotfiles.git"
|
||||
And there should be no output
|
||||
|
||||
Scenario: Add public remote including repo name
|
||||
When I successfully run `hub remote add mislav/dotfilez.js`
|
||||
Then the url for "mislav" should be "git://github.com/mislav/dotfilez.js.git"
|
||||
|
|
Загрузка…
Ссылка в новой задаче