Testing Active Job with Rails
Writing tests for background jobs is a lot easier than you might think using Rails’ built-in helpers. You can use them to verify jobs were enqueued with the right arguments and you can also use them to run the jobs inline. Watch the screencast to learn how to test ActiveJob
Post a comment