Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

docs: Add example of proc being acceptable as filter in config.include #3112

Merged
merged 2 commits into from
Sep 11, 2024

Conversation

the-spectator
Copy link
Contributor

While reading through this issue discussion, I learned that Procs can be used as filters metadata.

In this PR, I am adding an example of using a Proc with the config.include method and the :type filter accepting proc as a value.

@JonRowe
Copy link
Member

JonRowe commented Sep 11, 2024

Thanks this is documented in our feature docs but doesn't hurt to include here

@JonRowe JonRowe merged commit 57cc861 into rspec:main Sep 11, 2024
30 checks passed
@JonRowe
Copy link
Member

JonRowe commented Sep 11, 2024

Thanks again

@the-spectator the-spectator deleted the proc_type branch September 12, 2024 05:59
@the-spectator
Copy link
Contributor Author

Thank you for reviewing and merge @JonRowe 🎉

JonRowe added a commit that referenced this pull request Oct 1, 2024
docs: Add example of proc being acceptable as filter in config.include
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants