projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
✨ Use @TemplatePath annotations on most pages
[Sone.git]
/
src
/
test
/
kotlin
/
net
/
pterodactylus
/
sone
/
web
/
pages
/
BookmarksPageTest.kt
diff --git
a/src/test/kotlin/net/pterodactylus/sone/web/pages/BookmarksPageTest.kt
b/src/test/kotlin/net/pterodactylus/sone/web/pages/BookmarksPageTest.kt
index
b3882e5
..
a9891aa
100644
(file)
--- a/
src/test/kotlin/net/pterodactylus/sone/web/pages/BookmarksPageTest.kt
+++ b/
src/test/kotlin/net/pterodactylus/sone/web/pages/BookmarksPageTest.kt
@@
-70,5
+70,9
@@
class BookmarksPageTest: WebPageTest(::BookmarksPage) {
assertThat(page.menuName, equalTo("Bookmarks"))
}
+ @Test
+ fun `page is annotated with correct template path`() {
+ assertThat(page.templatePath, equalTo("/templates/bookmarks.html"))
+ }
}