Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Active Job testing guide #48526

Merged
merged 1 commit into from
Jun 21, 2023
Merged

Update Active Job testing guide #48526

merged 1 commit into from
Jun 21, 2023

Conversation

ghiculescu
Copy link
Member

The testing guide for Active Job currently implies that when you queue a job it will be performed:

image

This isn't true; by default jobs are enqueued, not performed.

This PR fleshes out the docs a bit to show both examples, and adds a test to confirm the default behaviour.

The testing guide for Active Job currently implies that when you queue a job it will be performed.

This isn't true; by default jobs are enqueued, not performed.

This PR fleshes out the docs a bit to show both examples, and adds a test to confirm the default behaviour.
@ghiculescu
Copy link
Member Author

@zzak guessing you can't merge this because of the test?

@zzak
Copy link
Member

zzak commented Jun 21, 2023

@ghiculescu No, I generally let the author merge once they have commit to merge their own PR. 🙏

@ghiculescu
Copy link
Member Author

I don’t have commit @zzak

@zzak
Copy link
Member

zzak commented Jun 21, 2023

Whoops, I thought I've seen you merge PRs before! I will merge this then 🙏

@zzak zzak merged commit 8725f61 into rails:main Jun 21, 2023
8 of 9 checks passed
@ghiculescu ghiculescu deleted the active-job-docs branch June 21, 2023 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants