have_enqueued_good_job
matcher
#1071
stephannv
started this conversation in
Show and tell
Replies: 2 comments
-
This is great! 🎉 I have a couple of small tweaks I'd suggest, mainly using Also, I would accept a PR if you wanted to have the |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks @bensheldon, I will open a PR using the suggestions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I started using GoodJob today (awesome gem, btw) and I noticed
have_enqueued_job
(default rspec-rails matcher) doesn't work withqueue_adapter = :good_job
, it works only withqueue_adapter = :test
. So I started creating a custom matcher:Usage:
I'm not using queue priority and scheduling yet, so I did not create an API to test those features.
Beta Was this translation helpful? Give feedback.
All reactions