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

ensure_inclusion_of instead validate_inclusion_of and alike? #122

Open
pablox-cl opened this issue Feb 22, 2014 · 1 comment
Open

ensure_inclusion_of instead validate_inclusion_of and alike? #122

pablox-cl opened this issue Feb 22, 2014 · 1 comment

Comments

@pablox-cl
Copy link

I was seeing that some of the rspec-mongoid matchers are similar to the ones from shoulda matchers, but some have minor differences, like using ensure instead of validate. Shouldn't they be similar to be more consistent?

@rodrigopinto
Copy link
Collaborator

@pablox-cl The mongoid-rspec has no expectation to keep the api consistent with shoulda-matcher, however if you submit a PR that implements an alias, maybe we can merge it.

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

No branches or pull requests

3 participants