ニコニコ同期時にオリジナルの投稿日時連携,形式のバグ修正(#246) (#249)

#246

#246

#246

Co-authored-by: miteruzo <miteruzo@naver.com>
Reviewed-on: #249
This commit was merged in pull request #249.
This commit is contained in:
2026-01-31 03:22:23 +09:00
parent 5a02be0517
commit 5451d9ec9f
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -38,8 +38,8 @@ RSpec.describe "nico:sync" do
'code' => 'sm9',
'title' => 't',
'tags' => ['AAA'],
'uploaded_at' => '2026-01-01T12:34:56+09:00',
'deleted_at' => '2026-01-31T00:00:00+09:00' }])
'uploaded_at' => '2026-01-01 12:34:56',
'deleted_at' => '2026-01-31 00:00:00' }])
# 外部HTTPは今回「既存 post なので呼ばれない」はずだが、念のため塞ぐ
allow(URI).to receive(:open).and_return(StringIO.new("<html></html>"))