mongoid / mongoid-rspec

RSpec matchers and macros for Mongoid.
MIT License
499 stars 179 forks source link

ensure_inclusion_of instead validate_inclusion_of and alike? #122

Open pablox-cl opened 10 years ago

pablox-cl commented 10 years ago

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 commented 10 years ago

@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.