couchrest_model/spec/couchrest
Simone Carletti f76517d0fa Narrow the rescued exception to avoid catching class evaluation errors that has nothing to to with the association.
Example:

    /Users/weppos/.rvm/gems/ruby-1.8.7-p330/gems/couchrest_model-1.0.0/lib/couchrest/model/associations.rb:29:in `belongs_to': Unable to convert class name into Constant for Document#dossier (RuntimeError)

although the real error is

    /Users/weppos/Projects/working/.../app/models/user.rb:56: undefined method `validates_uniqueness_of' for User:Class (NoMethodError)
2011-02-24 23:38:39 -03:00
..
assocations_spec.rb Narrow the rescued exception to avoid catching class evaluation errors that has nothing to to with the association. 2011-02-24 23:38:39 -03:00
attachment_spec.rb creating attachments accessor 2010-08-03 23:58:28 -03:00
base_spec.rb Make deep clone of default property values 2011-01-18 08:13:05 -05:00
casted_model_spec.rb Anonymous casted model properties no longer require block parameter 2011-02-05 22:38:22 +01:00
casted_spec.rb Renaming to CouchRest Model 2010-06-20 22:01:11 +02:00
class_proxy_spec.rb add method 'last' to simplify queries 2010-12-31 18:59:57 -02:00
configuration_spec.rb Renaming Attribute Protection and solving problem modifying the provided hash to the #attributes= method 2010-10-22 15:39:12 +02:00
inherited_spec.rb Fixing documentation and two describes 2010-08-03 23:09:05 -03:00
persistence_spec.rb Use :validation callbacks, not the :validate callbacks reserved by ActiveModel, ensuring callbacks are actually run when they're supposed to be. 2011-02-01 14:32:38 -05:00
property_protection_spec.rb Renaming Attribute Protection and solving problem modifying the provided hash to the #attributes= method 2010-10-22 15:39:12 +02:00
property_spec.rb adding rdoc to method properties_with_values 2010-12-22 23:09:00 -02:00
subclass_spec.rb Renaming Attribute Protection and solving problem modifying the provided hash to the #attributes= method 2010-10-22 15:39:12 +02:00
validations.rb Fixing proxy and view bug 2010-06-22 14:15:30 +02:00
view_spec.rb add method 'last' to simplify queries 2010-12-31 18:59:57 -02:00