From 501dbba80fc2f087e716c2a7ac098b7dc35dcbee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohnic=CC=81?= Date: Mon, 7 May 2012 20:41:08 +0200 Subject: [PATCH] add scenario for `remote set-url` functionality --- features/remote_add.feature | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/features/remote_add.feature b/features/remote_add.feature index 9c49cfd1..d64f9d3c 100644 --- a/features/remote_add.feature +++ b/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"