diff options
author | George Claghorn <george@basecamp.com> | 2018-12-31 23:35:53 -0500 |
---|---|---|
committer | George Claghorn <george@basecamp.com> | 2018-12-31 23:35:53 -0500 |
commit | 5afceae886ab85ce7173af3a4c87d67d8b6a12a1 (patch) | |
tree | 678a8a99c191cd9d140f86d04d5dad466c022bc9 | |
parent | 782460977e4acaa3d528215c69b790aaff56a6ae (diff) | |
download | rails-5afceae886ab85ce7173af3a4c87d67d8b6a12a1.tar.gz rails-5afceae886ab85ce7173af3a4c87d67d8b6a12a1.tar.bz2 rails-5afceae886ab85ce7173af3a4c87d67d8b6a12a1.zip |
Add load hook for ActionMailbox::TestCase
-rw-r--r-- | actionmailbox/lib/action_mailbox/test_case.rb | 2 | ||||
-rw-r--r-- | guides/source/engines.md | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/actionmailbox/lib/action_mailbox/test_case.rb b/actionmailbox/lib/action_mailbox/test_case.rb index a501e8a7ca..5e78e428d3 100644 --- a/actionmailbox/lib/action_mailbox/test_case.rb +++ b/actionmailbox/lib/action_mailbox/test_case.rb @@ -8,3 +8,5 @@ module ActionMailbox include ActionMailbox::TestHelper end end + +ActiveSupport.run_load_hooks :action_mailbox_test_case, ActionMailbox::TestCase diff --git a/guides/source/engines.md b/guides/source/engines.md index 837b736953..bd0542ffc1 100644 --- a/guides/source/engines.md +++ b/guides/source/engines.md @@ -1507,6 +1507,7 @@ To hook into the initialization process of one of the following classes use the | `ActionDispatch::SystemTestCase` | `action_dispatch_system_test_case` | | `ActionMailbox::Base` | `action_mailbox` | | `ActionMailbox::InboundEmail` | `action_mailbox_inbound_email` | +| `ActionMailbox::TestCase` | `action_mailbox_test_case` | | `ActionMailer::Base` | `action_mailer` | | `ActionMailer::TestCase` | `action_mailer_test_case` | | `ActionView::Base` | `action_view` | |