FEATURE: add title tag for group detail page (#13702)

This commit is contained in:
Arpit Jalan
2021-07-12 20:05:57 +05:30
committed by GitHub
parent d9eb37be70
commit 953fd2cb50
4 changed files with 5 additions and 1 deletions

View File

@ -411,6 +411,7 @@ describe GroupsController do
expect(response.status).to eq(200)
expect(response.body).to have_tag "title", text: "#{group.name} - #{SiteSetting.title}"
expect(response.body).to have_tag(:meta, with: {
property: 'og:title', content: group.name
})