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

Remove the with qualifier on define_enum_for matcher #1462

Closed
vsppedro opened this issue Oct 1, 2021 · 0 comments · Fixed by #1589
Closed

Remove the with qualifier on define_enum_for matcher #1462

vsppedro opened this issue Oct 1, 2021 · 0 comments · Fixed by #1589
Assignees

Comments

@vsppedro
Copy link
Collaborator

vsppedro commented Oct 1, 2021

I'm creating this issue as a reminder to remove this deprecated method.

def with(expected_enum_values)
Shoulda::Matchers.warn_about_deprecated_method(
'The `with` qualifier on `define_enum_for`',
'`with_values`',
)
with_values(expected_enum_values)
end

@vsppedro vsppedro self-assigned this Oct 1, 2021
amalrik added a commit to amalrik/shoulda-matchers that referenced this issue Dec 19, 2023
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 a pull request may close this issue.

1 participant