Skip to content

Commit

Permalink
Add load hook for ActionMailbox::TestCase
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeclaghorn committed Jan 1, 2019
1 parent 7824609 commit 5afceae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions actionmailbox/lib/action_mailbox/test_case.rb
Expand Up @@ -8,3 +8,5 @@ class TestCase < ActiveSupport::TestCase
include ActionMailbox::TestHelper
end
end

ActiveSupport.run_load_hooks :action_mailbox_test_case, ActionMailbox::TestCase
1 change: 1 addition & 0 deletions guides/source/engines.md
Expand Up @@ -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` |
Expand Down

0 comments on commit 5afceae

Please sign in to comment.