Skip to content

Validation matchers with mongoid #167

Closed
SweeD opened this Issue May 6, 2011 · 2 comments

2 participants

@SweeD
SweeD commented May 6, 2011

The ActiveModel related matchers (Validations and MassAssignment) can't be used, if the ORM is anything else as ActiveRecord, because they only gets required if ActiveRecord is defined.

The validation and mass assignment matchers should get included if ActiveModel is defined instead of ActiveRecord.

Greetz
Markus

@SweeD
SweeD commented May 6, 2011

Pull request created for this.

@jasonm
jasonm commented May 20, 2011

Pull request merged.

@jasonm jasonm closed this May 20, 2011
@SweeD SweeD referenced this issue in thoughtbot/shoulda-matchers Sep 25, 2013
Merged

Validation matchers with mongoid - Fix #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.