diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2013-08-08 13:27:51 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2013-08-08 13:37:45 +0000 |
commit | 7819677343bb40e899fa2cd252c203013911fede (patch) | |
tree | 85c845640e5a2777602f02c2b9fc8d22e8715e30 /yarns/branches-workspaces.yarn | |
parent | 6cfc967b82b371f655151f9081cfde81c1f4f150 (diff) | |
download | morph-7819677343bb40e899fa2cd252c203013911fede.tar.gz |
yarns: add a scenario for checking out a chunk
Diffstat (limited to 'yarns/branches-workspaces.yarn')
-rw-r--r-- | yarns/branches-workspaces.yarn | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/yarns/branches-workspaces.yarn b/yarns/branches-workspaces.yarn index bfcb9e66..3af362a1 100644 --- a/yarns/branches-workspaces.yarn +++ b/yarns/branches-workspaces.yarn @@ -58,6 +58,15 @@ Checking out a system branch should fail, if the branch doesn't exist. WHEN morph attempts to check out system branch foo THEN morph failed +Checking out a system branch should also fail if the repository does +not contain any system morphologies. + + SCENARIO checking out a system branch with no systems + GIVEN a workspace + AND a git server + WHEN morph attempts to check out a repository with no systems + THEN morph failed + We can, instead, create a new system branch, off master. SCENARIO branch off master @@ -78,6 +87,15 @@ to check for that locally. AND creating system branch bar, based on foo THEN the system branch bar is checked out +Similarly, attempting to branch a system branch should fail if the +repository does not contain any system morphologies. + + SCENARIO checking out a system branch with no systems + GIVEN a workspace + AND a git server + WHEN morph attempts to branch a repository with no systems + THEN morph failed + Query commands in workspaces ---------------------------- |