Deliberate overriding of an existing file to tests

Deliberate overriding via `save_as` metadata should be allowed, even after the
overwrite detection feature. This commit is to add tests for deliberate
overriding. As a result, the relevant tests *should fail* after this commit.

Added a page and an article, both to override a tag, with very old dates so
it limits the amount of diff in the generated pages.

Overriding feature introduced by d0e9c52410
Overwrite detection introduced by ff7410ce2a
This commit is contained in:
Rogdham 2013-06-20 21:58:51 +01:00
commit 0999d4d691
71 changed files with 262 additions and 87 deletions

View file

@ -0,0 +1,8 @@
The baz tag
###########
:date: 2010-03-14
:url: tag/baz.html
:save_as: tag/baz.html
This article overrides the listening of the articles under the *baz* tag.

View file

@ -0,0 +1,8 @@
Oh Oh Oh
########
:date: 2010-03-14
:url: tag/oh.html
:save_as: tag/oh.html
This page overrides the listening of the articles under the *oh* tag.