✨ Use @TemplatePath annotations on most pages
[Sone.git] / src / test / kotlin / net / pterodactylus / sone / web / pages / NewPageTest.kt
index 3a0f34c..2edf1dd 100644 (file)
@@ -95,4 +95,9 @@ class NewPageTest: WebPageTest(::NewPage) {
            assertThat(page.menuName, equalTo("New"))
        }
 
+       @Test
+       fun `page is annotated with correct template path`() {
+           assertThat(page.templatePath, equalTo("/templates/new.html"))
+       }
+
 }