diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-11-22 20:10:25 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-11-22 20:10:25 +0200 |
commit | c8d40b889cd8f4d5c92c42f51ed555c38591dffe (patch) | |
tree | a8212be8ffb18d8cf0451273dbe81c98084d85d9 /yarns | |
parent | 39055e208b1fcb6fc3e5c975f4b529fe6c051c67 (diff) | |
download | jt-c8d40b889cd8f4d5c92c42f51ed555c38591dffe.tar.gz |
Add test for and implement using topic pages
Diffstat (limited to 'yarns')
-rw-r--r-- | yarns/030-topics.yarn | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/yarns/030-topics.yarn b/yarns/030-topics.yarn index 4595604..e931ae3 100644 --- a/yarns/030-topics.yarn +++ b/yarns/030-topics.yarn @@ -4,7 +4,14 @@ 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 + SCENARIO create and use topic page GIVEN an empty journal in SRC WHEN I run jt new-topic research/2014/dishwasher Dishwasher THEN file SRC/research/2014/dishwasher.mdwn matches title="Dishwasher" + +After this, we can create a new journal entry that belongs to the +topic. + + GIVEN the time is 2014-11-20 20:04:08 + WHEN I run jt new --topic=research/2014/dishwasher TITLE + THEN file SRC/drafts/0.mdwn matches research/2014/dishwasher |