validates_timeliness/spec/validates_timeliness
Johnny Shields 99ae8fe7d7 Update for Mongoid 3:
- Now requires Mongoid 3.0 as minimum version (this is the only version to support Rails 3.2)
- Upgrade specs/helpers for Mongoid 3
- Support Mongoid aliased field names (e.g. field :foo, as: bar, type: String). Includes spec
- Support before_type_cast on Mongoid. No code change was required for this, only a spec change.
- There was one mongoid spec that was previously marked pending. I've found that it now works on Mongoid 3.
- Removed some Mongoid 2.3 and earlier hacks, which simplifies the Mongoid ORM code.
2013-07-24 11:05:01 +09:00
..
extensions Fix for running tests in non-Australian timezones 2013-04-30 19:56:19 +02:00
orm Update for Mongoid 3: 2013-07-24 11:05:01 +09:00
validator move some files into spec/support and include ModelHelpers in config 2011-01-28 19:36:02 +11:00
attribute_methods_spec.rb Hook into undefine_attributes_methods to remove timeliness methods as well 2012-02-01 20:38:05 +11:00
conversion_spec.rb change spec config setup to use class method with_config 2011-01-29 16:33:37 +11:00
helper_methods_spec.rb DRYing up some specs 2012-08-26 16:38:00 +10:00
validator_spec.rb Range with excluded end passed to :between option should be split into :on_or_after and :before options 2013-04-30 15:37:44 +06:00