このコミットが含まれているのは:
2026-09-21 07:16:14 +09:00
コミット 57c141e515
5個のファイルの変更306行の追加38行の削除
+2 -6
ファイルの表示
@@ -1252,9 +1252,7 @@ RSpec.describe 'Posts API', type: :request do
context 'when nico tag already exists in tags' do
before do
Tag.find_undiscard_or_create_by!(
tag_name: TagName.find_undiscard_or_create_by!(name: 'nico:nico_tag'),
category: :nico)
Tag.find_or_create_by_tag_name!('nico:nico_tag', category: :nico)
end
it 'returns 422 with tag field errors' do
@@ -1580,9 +1578,7 @@ RSpec.describe 'Posts API', type: :request do
context 'when nico tag already exists in tags' do
before do
Tag.find_undiscard_or_create_by!(
tag_name: TagName.find_undiscard_or_create_by!(name: 'nico:nico_tag'),
category: :nico)
Tag.find_or_create_by_tag_name!('nico:nico_tag', category: :nico)
end
it 'returns 422 with tag field errors' do