diff options
-rw-r--r-- | yarns/030-topics.yarn | 10 | ||||
-rw-r--r-- | yarns/900-implementations.yarn | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/yarns/030-topics.yarn b/yarns/030-topics.yarn new file mode 100644 index 0000000..86f9d9b --- /dev/null +++ b/yarns/030-topics.yarn @@ -0,0 +1,10 @@ +Using Topics +============ + +A topic is implemented as a wiki page to which journal entries link. +First we create a topic page: + + SCENARIO create topic page + GIVEN an empty journal in SRC + WHEN I run jt new-topic research/2014/dishwasher "Buy a dishwasher" + THEN file SRC/research/2014/dishwasher.mdwn matches title="Buy a dishwasher" diff --git a/yarns/900-implementations.yarn b/yarns/900-implementations.yarn index a2e149f..561b096 100644 --- a/yarns/900-implementations.yarn +++ b/yarns/900-implementations.yarn @@ -91,5 +91,5 @@ Checking file contents Does a file match a regular expression? - IMPLEMENTS THEN file (\S+) matches (\S+) + IMPLEMENTS THEN file (\S+) matches (.+)$ grep -e "$MATCH_2" "$DATADIR/$MATCH_1" |