Test for distinct filename/title use case.

Confirmed fails when the fix is reverted.
This commit is contained in:
Jeff Forcier 2014-04-06 10:44:46 -07:00
parent 25819952d1
commit ea3b72181d
3 changed files with 19 additions and 1 deletions

View file

@ -0,0 +1,6 @@
====
Test
====
.. toctree::
notachangelog

View file

@ -0,0 +1,7 @@
=========
Changelog
=========
* :release:`1.0.1 <2014-01-02>`
* :bug:`1` Fix a bug.
* :release:`1.0.0 <2014-01-01>`

View file

@ -55,7 +55,12 @@ class integration(Spec):
def customized_filename_with_different_title(self):
# Changelog named not 'changelog', title distinct
skip()
# NOTE: the difference here is in the fixture!
self._assert_worked(
folder='custom_different',
opts={'releases_document_name': 'notachangelog'},
target='notachangelog',
)
def customized_filename_with_other_files(self):
# Same as above but w/ other files in toctree