heartcombo--devise/test/orm
Durran Jordan d821275588 Fix spec failures for Mongoid 3.
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.
2012-11-10 20:02:58 +01:00
..
active_record.rb Allow the dummy application in test/rails_app to boot. 2010-04-01 12:49:11 +02:00
mongoid.rb Fix spec failures for Mongoid 3. 2012-11-10 20:02:58 +01:00