Permalink
Browse files

add scenario for `remote set-url` functionality

  • Loading branch information...
mislav committed May 7, 2012
1 parent f841962 commit 501dbba80fc2f087e716c2a7ac098b7dc35dcbee
Showing with 6 additions and 0 deletions.
  1. +6 −0 features/remote_add.feature
@@ -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"

0 comments on commit 501dbba

Please sign in to comment.