diff --git a/app/views/works/index.html.slim b/app/views/works/index.html.slim index 45ac8a13d46..de1c2c8b9d3 100644 --- a/app/views/works/index.html.slim +++ b/app/views/works/index.html.slim @@ -1,4 +1,4 @@ -- title 'ポートフォリオ' +- title 'みんなのポートフォリオ' - set_meta_tags description: '作品の一覧ページです。' header.page-header diff --git a/test/system/works_test.rb b/test/system/works_test.rb index c2ae2fcd4a8..2a6ec0559bc 100644 --- a/test/system/works_test.rb +++ b/test/system/works_test.rb @@ -5,7 +5,8 @@ class WorksTest < ApplicationSystemTestCase test 'user can see portfolio list page' do visit_with_auth portfolios_path, 'kimura' - assert_equal 'ポートフォリオ | FBC', title + assert_equal 'みんなのポートフォリオ | FBC', title + assert_selector "meta[property='og:title'][content='みんなのポートフォリオ']", visible: false assert_text works(:work1).title end