Skip to content

Commit

Permalink
動作を確認するためのフィクスチャを用意
Browse files Browse the repository at this point in the history
  • Loading branch information
mousu-a committed Jan 17, 2025
1 parent 6d3ad15 commit 8e7f876
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
15 changes: 15 additions & 0 deletions db/fixtures/acts_as_taggable_on/taggings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,18 @@ page13_tag_net_framework:
taggable: page13 (Page)
context: tags
tag: _net_framework

article41_tag_alumni_voice:
taggable: article41 (Article)
context: tags
tag: alumni_voice

article42_tag_alumni_voice:
taggable: article42 (Article)
context: tags
tag: alumni_voice

article43_tag_alumni_voice:
taggable: article43 (Article)
context: tags
tag: alumni_voice
3 changes: 3 additions & 0 deletions db/fixtures/acts_as_taggable_on/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ _net_framework:

may_j_:
name: May_J.

alumni_voice:
name: 卒業生の声
30 changes: 30 additions & 0 deletions db/fixtures/articles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,33 @@ article<%= id %>:
wip: false
published_at: "2022-03-14 00:00:00"
<% end %>

article41:
title: 卒業生の声のタグを持つ最新の記事です
summary: |-
summaryですsummaryですsummaryです
body: |-
bodyですbodyですbodyです
user: komagata
wip: false
published_at: "2024-03-14 00:00:00"

article42:
title: 卒業生の声のタグを持つ2番目に新しい記事です
summary: |-
summaryですsummaryですsummaryです
body: |-
summaryを含むbody
user: komagata
wip: false
published_at: "2024-03-13 00:00:00"

article43:
title: 卒業生の声のタグを持つ3番目に新しい記事です
summary: |-
summaryですsummaryですsummaryです
body: |-
summaryを含むbody
user: komagata
wip: false
published_at: "2024-03-12 00:00:00"

0 comments on commit 8e7f876

Please sign in to comment.