✨ Use @TemplatePath annotations on most pages
[Sone.git] / src / test / kotlin / net / pterodactylus / sone / web / pages / DeleteSonePageTest.kt
index 5551e76..3d53b01 100644 (file)
@@ -66,4 +66,9 @@ class DeleteSonePageTest: WebPageTest(::DeleteSonePage) {
            assertThat(page.menuName, equalTo("DeleteSone"))
        }
 
+       @Test
+       fun `page is annotated with correct template path`() {
+           assertThat(page.templatePath, equalTo("/templates/deleteSone.html"))
+       }
+
 }