mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
d821275588
This has no actual changes to Devise itself, just fixes the failing tests when running against Mongoid 3 instead of Mongoid 2. Mocha has been locked at 0.10.0 since 0.12.0 raises an error when trying to set an expectation on a frozen object. Tests were updated to work with both AR and Mongoid, some cases the XML serialization was slightly different but both were outputting correct and valid XML, and the id/_id field mismatch is now handled. An active field was missing from the test models for Mongoid, and the invalid :null => true options in field were removed. |
||
---|---|---|
.. | ||
active_record.rb | ||
mongoid.rb |