Mercurial > piecrust2
annotate tests/servings/test_debug_info.serve @ 392:923a9b96411d
data: Fix regression bug with accessing page metadata that doesn't exist.
Added unit test.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 17 May 2015 15:25:54 -0700 |
parents | 3e4bb57d8506 |
children | dc0988d937b3 |
rev | line source |
---|---|
391
3e4bb57d8506
tests: Add support for testing the Chef server.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
1 --- |
3e4bb57d8506
tests: Add support for testing the Chef server.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
2 url: /foo |
3e4bb57d8506
tests: Add support for testing the Chef server.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
3 in: |
3e4bb57d8506
tests: Add support for testing the Chef server.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
4 pages/foo.md: | |
3e4bb57d8506
tests: Add support for testing the Chef server.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
5 BLAH |
3e4bb57d8506
tests: Add support for testing the Chef server.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
6 {{piecrust.debug_info}} |
3e4bb57d8506
tests: Add support for testing the Chef server.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
7 out: BLAH |
3e4bb57d8506
tests: Add support for testing the Chef server.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
8 --- |
3e4bb57d8506
tests: Add support for testing the Chef server.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
9 url: /foo?!debug |
3e4bb57d8506
tests: Add support for testing the Chef server.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
10 in: |
3e4bb57d8506
tests: Add support for testing the Chef server.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
11 pages/foo.md: | |
3e4bb57d8506
tests: Add support for testing the Chef server.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
12 BLAH |
3e4bb57d8506
tests: Add support for testing the Chef server.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
13 {{piecrust.debug_info}} |
3e4bb57d8506
tests: Add support for testing the Chef server.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
14 out_contains: | |
3e4bb57d8506
tests: Add support for testing the Chef server.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
15 BLAH |
3e4bb57d8506
tests: Add support for testing the Chef server.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
16 <div id="piecrust-debug-info" |