Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…hrest_model into adv_design
  • Loading branch information...
commit ef546688dcaaa6c140ae22f53c8c5b214ebd8e4b 2 parents 9e1f428 + 7304aa6
@samlown samlown authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/couchrest/class_proxy_spec.rb
View
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.