Sha256: b10bfef7045384ea6f42190f6dde074a6a8306efc7342c9aa9afc816fbc839ac

Contents?: true

Size: 661 Bytes

Versions: 8

Compression:

Stored size: 661 Bytes

Contents

!2 Test that HTTP links are rendered correctly
If a string of the form !-http://-!''some_url'' appears in wiki text, it is converted to a link.
----
!3 Check the variables get rendered in links
 * First create a page with a variable and http link on it.
!|script|
|start|Page Builder|
|line|!define HOST {localhost:8081}|
|line|http://${HOST}/page||
|page|!-HttpLinkPage-!|

 * Then fetch the page.
|Response Requester.|
|uri|valid?|
|!-HttpLinkPage-!|true|

 * Then check that the link was properly rendered.
|Response Examiner.|
|type|pattern|matches?|value|
|contents|<a href=!-"http://localhost:8081/page"-!>!-http://localhost:8081/page-!</a>|true||

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
xcfit-0.9.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteWidgetTests/TestHttpLinkWithVariable/content.txt
xcfit-0.8.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteWidgetTests/TestHttpLinkWithVariable/content.txt
xcfit-0.7.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteWidgetTests/TestHttpLinkWithVariable/content.txt
xcfit-0.6.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteWidgetTests/TestHttpLinkWithVariable/content.txt
xcfit-0.5.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteWidgetTests/TestHttpLinkWithVariable/content.txt
xcfit-0.4.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteWidgetTests/TestHttpLinkWithVariable/content.txt
xcfit-0.3.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteWidgetTests/TestHttpLinkWithVariable/content.txt
xcfit-0.2.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteWidgetTests/TestHttpLinkWithVariable/content.txt