diff options
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/testing.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md index 623380970e..8f3a7f67c0 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -1722,7 +1722,9 @@ within a model: ```ruby require 'test_helper' -class ProductTest < ActiveJob::TestCase +class ProductTest < ActiveSupport::TestCase + include ActiveJob::TestHelper + test 'billing job scheduling' do assert_enqueued_with(job: BillingJob) do product.charge(account) |