Skip to content

Commit

Permalink
タイトルタグの文言変更
Browse files Browse the repository at this point in the history
  • Loading branch information
Judeeeee committed Jul 4, 2024
1 parent ec3bb3d commit 3a45b09
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 3a45b09

Please sign in to comment.