summaryrefslogtreecommitdiff
path: root/yarns/branches-workspaces.yarn
diff options
context:
space:
mode:
authorDaniel Firth <dan.firth@codethink.co.uk>2013-10-31 14:28:12 +0000
committerDaniel Firth <dan.firth@codethink.co.uk>2013-11-01 15:27:10 +0000
commit6a1d074bfd30d5d24faf02725542ec87509c310a (patch)
tree5a4e9458fcfd5f57e749e807161d8f6c1a704119 /yarns/branches-workspaces.yarn
parent2d16996377f369c97d35b7b48bdd336c2e8f5a08 (diff)
downloadmorph-6a1d074bfd30d5d24faf02725542ec87509c310a.tar.gz
Added scenario test to prevent morph edit from being used without a system argument
Diffstat (limited to 'yarns/branches-workspaces.yarn')
-rw-r--r--yarns/branches-workspaces.yarn10
1 files changed, 10 insertions, 0 deletions
diff --git a/yarns/branches-workspaces.yarn b/yarns/branches-workspaces.yarn
index b90c054c..fd2154e7 100644
--- a/yarns/branches-workspaces.yarn
+++ b/yarns/branches-workspaces.yarn
@@ -204,6 +204,16 @@ purposes.
AND in branch foo, stratum test-stratum refs test-chunk in foo
AND edited chunk test:test-chunk has git branch foo
+Morph edit should only work with a system argument.
+
+ SCENARIO morph edit errors when supplied only a stratum and chunk as arguments
+ GIVEN a workspace
+ AND a git server
+ WHEN checking out the master system branch
+ AND editing chunk test-chunk in stratum test-stratum with no system specified in branch master
+ THEN morph failed
+ AND the edit error message includes the string "is not a system"
+
Status of system branch checkout
--------------------------------