dailyからnotify_certain_period_passed_after_last_answerルートを作る #6111
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
概要
新しいルートを作成して、
question.notify_certain_period_passed_after_last_answer
をdaily
から分離します。変更確認方法
feature/move-question-notify_certain_period_passed_after_last_answer
をローカルに取り込むbin/rails db:reset
とbin/rails s
でサーバーを起動kimura
でログインhttp://127.0.0.1:3000/scheduler/daily/notify_certain_period_passed_after_last_answer
にアクセスするhttp://127.0.0.1:3000/notifications?status=unread
にアクセスし、「Q&A「1週間前の質問」のベストアンサーがまだ選ばれていません。」表示されることを確認する。http://127.0.0.1:3000/letter_opener/
にアクセスし、メール内容kimuraさんの質問【 1週間前の質問 】のベストアンサーがまだ選ばれていません。
が表示されることを確認する。