From 5afceae886ab85ce7173af3a4c87d67d8b6a12a1 Mon Sep 17 00:00:00 2001 From: George Claghorn Date: Mon, 31 Dec 2018 23:35:53 -0500 Subject: Add load hook for ActionMailbox::TestCase --- actionmailbox/lib/action_mailbox/test_case.rb | 2 ++ guides/source/engines.md | 1 + 2 files changed, 3 insertions(+) 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` | -- cgit v1.2.3