Merge branch 'class_proxy_spec' of https://github.com/gsterndale/couchrest_model into adv_design

This commit is contained in:
Sam Lown 2011-03-13 19:35:18 +01:00
commit ef546688dc

View file

@ -85,12 +85,12 @@ describe "Proxy Class" do
end end
it "should get first" do it "should get first" do
u = @us.first u = @us.first
u.title.should =~ /\A...\z/ u.should == @us.all.first
end end
it "should get last" do it "should get last" do
u = @us.last u = @us.last
u.title.should == "aaa" u.should == @us.all.last
end end
it "should set database on first retreived document" do it "should set database on first retreived document" do