fixed all the specs so we are back to green
This commit is contained in:
parent
2d52225a25
commit
e48a6c8866
8 changed files with 36 additions and 18 deletions
|
@ -10,11 +10,11 @@ module CouchRest
|
|||
|
||||
def initialize(keys={})
|
||||
raise StandardError unless self.is_a? Hash
|
||||
apply_defaults # defined in CouchRest::Mixins::Properties
|
||||
super()
|
||||
keys.each do |k,v|
|
||||
self[k.to_s] = v
|
||||
end if keys
|
||||
apply_defaults # defined in CouchRest::Mixins::Properties
|
||||
cast_keys # defined in CouchRest::Mixins::Properties
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue