From 4f1748cb110e1608843d8c21b8e5a42886ff7a1a Mon Sep 17 00:00:00 2001 From: appsu-mi Date: Wed, 28 Feb 2024 21:02:46 +0900 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E5=87=BA=E7=89=A9=E3=82=92=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E3=81=97=E3=81=9F=E6=99=82=E3=81=AE=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E3=81=AE=E6=9C=AB=E5=B0=BE=E3=81=AB=E5=8F=A5=E8=AA=AD=E7=82=B9?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0=E3=80=81=E4=BB=96=E3=81=AE=E3=82=82?= =?UTF-8?q?=E3=81=AE=E3=81=A8=E7=B5=B1=E4=B8=80=E3=81=99=E3=82=8B=E5=BD=A2?= =?UTF-8?q?=E3=81=AB=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/notifiers/activity_notifier.rb | 2 +- test/system/notification/products_test.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/notifiers/activity_notifier.rb b/app/notifiers/activity_notifier.rb index 10acaa518e7..0c54de1ba5b 100644 --- a/app/notifiers/activity_notifier.rb +++ b/app/notifiers/activity_notifier.rb @@ -282,7 +282,7 @@ def product_update(params = {}) receiver = params[:receiver] notification( - body: "#{product.user.login_name}さんの「#{product.practice.title}」の提出物が更新されました", + body: "#{product.user.login_name}さんの「#{product.practice.title}」の提出物が更新されました。", kind: :product_update, receiver:, sender: product.sender, diff --git a/test/system/notification/products_test.rb b/test/system/notification/products_test.rb index 1253746bf72..4ea5cd566cc 100644 --- a/test/system/notification/products_test.rb +++ b/test/system/notification/products_test.rb @@ -41,7 +41,7 @@ class Notification::ProductsTest < ApplicationSystemTestCase visit_with_auth '/notifications', 'komagata' within first('.card-list-item.is-unread') do - assert_text "kimuraさんの「#{product.practice.title}」の提出物が更新されました" + assert_text "kimuraさんの「#{product.practice.title}」の提出物が更新されました。" end end @@ -64,7 +64,7 @@ class Notification::ProductsTest < ApplicationSystemTestCase visit_with_auth '/notifications', 'komagata' within first('.card-list-item.is-unread') do - assert_text "hajimeさんの「#{product.practice.title}」の提出物が更新されました" + assert_text "hajimeさんの「#{product.practice.title}」の提出物が更新されました。" end end