Blame view

test/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteWidgetTests/TestHttpStatus/content.txt 471 Bytes
fbe3c2bb   Benjamin Renard   First commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Test that the http status entries returned in a wiki page are correct.

First create a page with normal text on it.

|Page creator.|
|Page name.|Page contents.|Page attributes.|valid?|
|!-NormalTextPage-!|This is normal text||true|

Then request that page

|Response Requester.|
|uri|valid?|
|!-NormalTextPage-!|true|

Examine the response for its status.

|Response Examiner.|
|type|pattern|matches?|value|
|status|200|true||
|headers|Cache-Control: max-age=0|true||