Skip to content

Commit

Permalink
Merge pull request #7930 from fjordllc/bug/update-portfolio-title-tag
Browse files Browse the repository at this point in the history
ポートフォリオページのタイトルタグ文言変更
  • Loading branch information
komagata authored Jul 15, 2024
2 parents 694e488 + 3a45b09 commit 1a854a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/works/index.html.slim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- title 'ポートフォリオ'
- title 'みんなのポートフォリオ'
- set_meta_tags description: '作品の一覧ページです。'

header.page-header
Expand Down
3 changes: 2 additions & 1 deletion test/system/works_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1a854a1

Please sign in to comment.