2023/05/20分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
actionmailer/CHANGELOG.md
Remove test that requires network access
railties/test/generators/app_generator_test.rb
の修正です。
テスト実行時に raw.githubusercontent.com へのアクセスが発生するテストを削除しています。テストの挙動が不安定になる可能性があるのと、該当の機能のテストは他のテストでカバー出来ている為。
Move shared tests into SharedGeneratorTests
railtiesのテストの修正です。
app generatorとplugin generator両方で確認が必要なテストをSharedGeneratorTests
配下に移動しています。
Fix special characters in app template path
railties/lib/rails/generators/app_base.rb
の修正です。
app template pathにスペースなどが含まれていた場合に正しく動作してなかったのを修正しています。
Merge pull request #48194 from jonathanhefner/assert_enqueued_email_with-deprecate-params-via-args
actionmailer/lib/action_mailer/test_helper.rb
の修正です。
assert_enqueued_email_with
メソッドのargs
引数にparamsを渡した場合の挙動をdeprecatedにしています。キーワード引数を渡す為の引数(:params
)が今は別に追加されており、今後はそちらを使用する必要があります。