Fix #4461: Improve posts/index page titles.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user