On 29/10/13 14:25, Dan Firth wrote:
repo: baserock:baserock/morph
branch: danielfirth/RT257
sha1: dd41de8ff3d6729253dbea546f39a859123ed531
In my opinion it's okay (+1). The tests pass, and is clear. But maybe we
should try to follow the Paul suggestions for the new IMPLEMENTS
Could be better:
IMPLEMENTS WHEN the user attemps to deploy the (system|cluster) (\S+) in
branch (\S+)
instead of:
IMPLEMENTS WHEN attempting to deploy the (system|cluster) (\S+) in
branch (\S+)
Here is the example Paul gave to me:
Here's my attempt:
SCENARIO re-running 'morph branch' fails, original branch untouched
GIVEN a workspace
AND a git server
WHEN user creates system branch foo
THEN system branch foo is checked out
WHEN user modifies system branch foo
AND user creates system branch foo
THEN morph fails because foo exists
AND modified system branch foo is still checked out