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
|
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
|
||||||
|
|
Loading…
Reference in a new issue