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

Fix exclude option in #field_test helper method #36

Merged

Conversation

falusi94
Copy link
Contributor

First of all, thanks for this great gem!

This PR addresses an unexpected behaviour that I found recently. The readme says here that participants can be excluded by a custom logic, providing the exclude option, but it is overwritten by the exclusion check for bots later.

I prepared this PR from a monkey patch we use internally and also added a new API controller for tests as I think this use case fits better. Any feedback is appreciated on it!

@ankane
Copy link
Owner

ankane commented Nov 21, 2021

Hey @falusi94, thanks for the PR! Can you add the test case to the existing controller?

Note to self: I think this was originally supposed to be an internal-only option that was mistakenly documented.

@falusi94 falusi94 force-pushed the fix/exclude-option-in-controller-helper branch from 81cb833 to d16591a Compare November 30, 2021 09:11
@falusi94
Copy link
Contributor Author

Hey, I just updated the PR, how do you see it?

@ankane ankane merged commit 18f1f1c into ankane:master Dec 17, 2021
@ankane
Copy link
Owner

ankane commented Dec 17, 2021

Thanks @falusi94!

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