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

ActiveJob performed matchers #2228

Closed
wants to merge 3 commits into from
Closed

Conversation

pirj
Copy link
Member

@pirj pirj commented Dec 11, 2019

  • have_been_performed is like have_been_enqueued, but for performed
    jobs
  • have_performed_job is like have_enqueued_job, but for performed
    jobs

It's somewhat unusual to use perform_enqueued_jobs, but it seems nice if
rspec-rails supports it!

Original work by @isaacseymour in #1785

Closes #1785

isaacseymour and others added 3 commits December 11, 2019 22:28
* `have_been_performed` is like `have_been_enqueued`, but for performed
  jobs
* `have_performed_job` is like `have_enqueued_job`, but for performed
  jobs
@pirj pirj self-assigned this Dec 11, 2019
@pirj pirj closed this Dec 11, 2019
@pirj pirj deleted the activejob-performed-matchers branch December 11, 2019 20:29
@pirj
Copy link
Member Author

pirj commented Dec 11, 2019

Haven't realized push to pr branch worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants