FitNesseRoot.Fitnesse.SuiteAcceptanceTests.SuiteResponderTests.SuiteRenameResponder.TestRenamePageWithBackwardsSearchReference.content.txt Maven / Gradle / Ivy
!3 When a page is renamed, any links to that page from backwards references pages are changed.
Create the test data.
!|Page creator.|
|Page name.|Page contents.|valid?|
|TopPage||true|
|TopPage.TargetPage||true|
|TopPage.MiddlePage||true|
|TopPage.MiddlePage.MiddleTarget||true|
|TopPage.MiddlePage.ReferingPage||true|
|contents||true|
Rename the middle page.
!|Response Requester.|
|uri |status?|
|RenamedTopPage.MiddlePage?responder=renamePage&newName=RenamedMiddlePage&refactorReferences=on||
Next fetch the referring page.
!|Response Requester.|
|uri|valid?|contents?|
|RenamedTopPage.RenamedMiddlePage.ReferingPage|true||
!|Response Examiner.|
|type |pattern|matches?|
|contents||true|
|contents||true|