Merge branch 'class_proxy_spec' of https://github.com/gsterndale/couchrest_model into adv_design
This commit is contained in:
commit
ef546688dc
|
@ -85,12 +85,12 @@ describe "Proxy Class" do
|
|||
end
|
||||
it "should get first" do
|
||||
u = @us.first
|
||||
u.title.should =~ /\A...\z/
|
||||
u.should == @us.all.first
|
||||
end
|
||||
|
||||
it "should get last" do
|
||||
u = @us.last
|
||||
u.title.should == "aaa"
|
||||
u.should == @us.all.last
|
||||
end
|
||||
|
||||
it "should set database on first retreived document" do
|
||||
|
|
Loading…
Reference in a new issue