diff options
author | Simon McVittie <smcv@debian.org> | 2013-01-02 19:14:26 +0000 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2013-01-02 19:19:32 +0000 |
commit | 7b06a65221ae16bf447c591dba5712c1d9f00461 (patch) | |
tree | cf19405c342a2f97863989a97dfdca0649c4f9f6 /t | |
parent | 94a51309635b799fd25aeaf60d90fab25939343e (diff) | |
download | ikiwiki-7b06a65221ae16bf447c591dba5712c1d9f00461.tar ikiwiki-7b06a65221ae16bf447c591dba5712c1d9f00461.tar.gz |
If the title of a trail or trail-member changes, rebuild affected pages
If the title of a trail changes, each member of that trail must be
rebuilt, for its prev/up/next box to reflect the new title.
If the title of a member changes, its next and previous items (if any)
must be rebuilt, for their prev/up/next boxes to reflect the new title.
Diffstat (limited to 't')
-rwxr-xr-x | t/trail.t | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -275,21 +275,15 @@ check_trail("limited/c.html", "n=limited/d p=limited/b"); check_trail("limited/d.html", "n= p=limited/c"); # Also, b and d should pick up the change to c. This regressed with the # change to using a presence dependency. -TODO: { -local $TODO = "trail members don't pick up other members' title changes"; $blob = readfile("t/tmp/out/limited/b.html"); ok($blob =~ /New C page >/m); $blob = readfile("t/tmp/out/limited/d.html"); ok($blob =~ /< New C page/m); -} # Members of a retitled trail should pick up that change. # This regressed with the change to using a presence dependency. -TODO: { -local $TODO = "trail members don't pick up the trail's title changes"; $blob = readfile("t/tmp/out/retitled/a.html"); ok($blob =~ /\^ the new title \^/m); -} # untrail is no longer a trail, so these are no longer in it. check_no_trail("untrail/a.html"); |