Permalink
Browse files

Merge branch 'class_proxy_spec' of https://github.com/gsterndale/couc…

…hrest_model into adv_design
  • Loading branch information...
2 parents 9e1f428 + 7304aa6 commit ef546688dcaaa6c140ae22f53c8c5b214ebd8e4b @samlown samlown committed Mar 13, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/couchrest/class_proxy_spec.rb
@@ -85,12 +85,12 @@ class UnattachedDoc < CouchRest::Model::Base
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

0 comments on commit ef54668

Please sign in to comment.