Add call to super in CouchRest::Validation.inherited hook, so that ExtendedDocument.inherited isn't bypassed. This reveals a failing test: Subclassing an ExtendedDocument should inherit default property values
This commit is contained in:
parent
5d112df1e8
commit
9c46546b39
|
@ -66,6 +66,7 @@ module CouchRest
|
|||
self.validators.contexts.each do |k, v|
|
||||
subklass.validators.contexts[k] = v.dup
|
||||
end
|
||||
super
|
||||
end
|
||||
EOS
|
||||
|
||||
|
|
Loading…
Reference in a new issue