Sha256: dccad07d638a0f6c857eb086c60255453fe575dc3c7af7bc4f2834a84bd496f8
Contents?: true
Size: 1.46 KB
Versions: 8
Compression:
Stored size: 1.46 KB
Contents
!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|<TopPage.TargetPage <TopPage.MiddlePage.MiddleTarget|true| Rename the top page. !|Response Requester.| |uri |status?| |TopPage?responder=renamePage&newName=RenamedTopPage&refactorReferences=on|| Next fetch the referring page. !|Response Requester.| |uri|valid?|contents?| |RenamedTopPage.MiddlePage.ReferingPage|true|| Make sure that the references have been changed. !|Response Examiner.| |type |pattern|matches?| |contents|<a href="RenamedTopPage\.TargetPage"><RenamedTopPage\.TargetPage</a>|true| |contents|<a href="RenamedTopPage\.MiddlePage\.MiddleTarget"><RenamedTopPage\.MiddlePage\.MiddleTarget</a>|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|<a href="RenamedTopPage\.TargetPage"><RenamedTopPage\.TargetPage</a>|true| |contents|<a href="RenamedTopPage\.RenamedMiddlePage\.MiddleTarget"><RenamedTopPage\.RenamedMiddlePage\.MiddleTarget</a>|true|
Version data entries
8 entries across 8 versions & 1 rubygems