Skip to content

Commit

Permalink
Update testing_queues.md to be consistent with installation guide (#1121
Browse files Browse the repository at this point in the history
)

* Update testing_queues.md to be consistent with the installation guide

https://hexdocs.pm/oban/installation.html
  • Loading branch information
esse authored Jul 25, 2024
1 parent 78d9ee7 commit 0ef8021
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions guides/testing/testing_queues.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ more expressive `Oban.Testing` provides a variety of helpers.

During test runs you don't typically want to execute jobs. Rather, you need
to verify that the job was enqueued properly. With the recommended test setup
queues and plugins are disabled, and jobs won't execute at all. The
`Oban.Testing.assert_enqueued/2` and `Oban.Testing.refute_enqueued/2` helpers
queues and plugins are disabled, and jobs won't be inserted into the database at all.
Instead, they'll be executed immediately within the calling process.
The `Oban.Testing.assert_enqueued/2` and `Oban.Testing.refute_enqueued/2` helpers
simplify running queries to check for those `available` or `scheduled` jobs
sitting in the database.

Expand Down

0 comments on commit 0ef8021

Please sign in to comment.