2018/11/26分のコミットです。
CHANGELOGへの追加はありませんでした。
Updating the Testing Guide to Reflect Emails Enqueued With ActiveJob [ci skip]
rails guideのTesting Rails Applications
の修正です。
Functional and System Testing
の項にあるIntegration Testのexampleでメールのチェックにassert_emails
メソッドを使用するよう修正、及び、System Testでmailのテストを行う場合のexampleを追加しています
SQLite 3.7.16+ returns the order of the primary key columns
activerecord/test/cases/primary_keys_test.rb
の修正です。
primary key columnのorderに関するテストがSQLite3でスキップされていたのを、実行するよう修正しています。
SQLite 3.7.16からprimary key columnの順序が一意になるようになった、かつ、Rails 6ではSQLite 3.8以上をサポートする為。
Fix random CI failure due to non-deterministic sorting order
activerecord/test/cases/associations/has_many_associations_test.rb
の修正です。
test_has_many_through_respects_hash_conditions
で、assertionで値を比較する際に、値をidでsortするよう修正しています。 sortを指定していと結果が不定になる為。
Use cache_key_with_version instead of cache_key for the example in Low-Level Caching [ci skip]
rails guideのCaching with Rails: An Overview
の修正です。
cache keyの生成にcache_key
を使っていた箇所をcache_key_with_version
を使用するよう修正しています。
Replace cache_key with cache_key_with_version on caching_with_rails guides [ci skip]の修正漏れ対応。