summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/library.yarn3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/library.yarn b/testing/library.yarn
index cc03122..58cfbc0 100644
--- a/testing/library.yarn
+++ b/testing/library.yarn
@@ -46,6 +46,9 @@ SSH keys. Sometimes it's helpful to be able to work with these...
IMPLEMENTS GIVEN ([a-z][a-z0-9]*) has keys called ([a-z][a-z0-9]*)
$GTT createsshkey "$MATCH_1" "$MATCH_2"
+ IMPLEMENTS GIVEN ([a-z][a-z0-9]*) has keys called ([a-z][a-z0-9]*) of type ([a-z][a-z0-9]*)
+ $GTT createsshkey "$MATCH_1" "$MATCH_2" "$MATCH_3"
+
IMPLEMENTS WHEN ([a-z][a-z0-9]*) uses their ssh public key called ([a-z][a-z0-9]*) as stdin
cp "$DATADIR/user-home-$MATCH_1/.ssh/$MATCH_2.pub" "$DATADIR/stdin"