summaryrefslogtreecommitdiff
path: root/yarns
diff options
context:
space:
mode:
Diffstat (limited to 'yarns')
-rw-r--r--yarns/implementations.yarn6
-rw-r--r--yarns/noncore-plugins.yarn3
2 files changed, 6 insertions, 3 deletions
diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn
index eab162b3..705ff14f 100644
--- a/yarns/implementations.yarn
+++ b/yarns/implementations.yarn
@@ -637,8 +637,10 @@ Implementations for `morph certify`
Implementations for `morph list-artifacts`
------------------------------------------
- IMPLEMENTS WHEN the user lists the artifacts which make up the system (\S+) at ref (\S+) in repository (\S+)
- attempt_morph list-artifacts "$MATCH_3" "$MATCH_2" "$MATCH_1"
+ IMPLEMENTS WHEN the user lists the artifacts which make up the system (\S+) at ref (\S+)
+ cd "$DATADIR/definitions"
+ git checkout "$MATCH_2"
+ attempt_morph list-artifacts "$MATCH_1"
Implementation sections for building
====================================
diff --git a/yarns/noncore-plugins.yarn b/yarns/noncore-plugins.yarn
index d7f532da..0783cda5 100644
--- a/yarns/noncore-plugins.yarn
+++ b/yarns/noncore-plugins.yarn
@@ -210,7 +210,8 @@ artifact in a system. This name includes the cache key of the artifact.
SCENARIO using morph list-artifacts
GIVEN a git server
- WHEN the user lists the artifacts which make up the system systems/test-system.morph at ref HEAD in repository test:definitions
+ WHEN the user clones definitions
+ AND the user lists the artifacts which make up the system systems/test-system.morph at ref HEAD
THEN morph succeeded
FINALLY the git server is shut down