Changeset [9d3a1f1a8e63b5d977c211b410bb27735ec82640] by Dan Kubb
June 27th, 2009 @ 03:48 AM
Fixed bug where false was not considered valid for a Boolean property
- Refactored primitive test for values
- Updated boolean typecasting to be more precise
- Added specs for typecasting boolean property values
- Added specs for validating boolean property values
- Added specs for conditions with values that need to be coerced to match the property
[#924 state:resolved] [#927 state:resolved] http://github.com/datamapper/dm-...
Committed by Dan Kubb
- M lib/dm-core/property.rb
- M spec/public/property_spec.rb
- M spec/semipublic/query/conditions_spec.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »