✨ Use @TemplatePath annotations on most pages
[Sone.git] / src / test / kotlin / net / pterodactylus / sone / web / pages / AboutPageTest.kt
index 947262a..a2fd178 100644 (file)
@@ -64,4 +64,9 @@ class AboutPageTest : WebPageTest({ template, webInterface, loaders, templateRen
            assertThat(page.menuName, equalTo("About"))
        }
 
+       @Test
+       fun `page is annotated with correct template path`() {
+           assertThat(page.templatePath, equalTo("/templates/about.html"))
+       }
+
 }