✨ Use @TemplatePath annotations on most pages
[Sone.git] / src / test / kotlin / net / pterodactylus / sone / web / pages / CreateSonePageTest.kt
index 9b5f983..e865f65 100644 (file)
@@ -156,4 +156,9 @@ class CreateSonePageTest : WebPageTest(::CreateSonePage) {
            assertThat(page.menuName, equalTo("CreateSone"))
        }
 
+       @Test
+       fun `page is annotated with the correct template path`() {
+           assertThat(page.templatePath, equalTo("/templates/createSone.html"))
+       }
+
 }