Simplifying and moving CastedArray into own file
This commit is contained in:
parent
1b019fa3fe
commit
f196aacecc
4 changed files with 35 additions and 25 deletions
|
@ -210,7 +210,7 @@ describe CouchRest::CastedModel do
|
|||
@cat.toys.push(toy)
|
||||
@cat.save.should be_true
|
||||
@cat = Cat.get @cat.id
|
||||
@cat.toys.class.should == CastedArray
|
||||
@cat.toys.class.should == CouchRest::CastedArray
|
||||
@cat.toys.first.class.should == CatToy
|
||||
@cat.toys.first.should === toy
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue