Fix #4461: Improve posts/index page titles.

This commit is contained in:
evazion
2022-04-30 01:44:42 -05:00
parent 906ac25221
commit 918f32c554
8 changed files with 54 additions and 126 deletions

View File

@@ -467,8 +467,8 @@ class PostsControllerTest < ActionDispatch::IntegrationTest
context "in safe mode" do
should "not include the rating:s tag in the page title" do
get posts_path(tags: "1girl", safe_mode: true)
assert_select "title", text: "1girl Art | Safebooru"
get posts_path(tags: "fate/grand_order", safe_mode: true)
assert_select "title", text: "Fate/Grand Order | Safebooru"
end
end