add scenario for `remote set-url` functionality

This commit is contained in:
Mislav Marohnić 2012-05-07 20:41:08 +02:00
Родитель f8419629c5
Коммит 501dbba80f
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -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"