From 7304aa623899b91d266c17a21eecac72fe600093 Mon Sep 17 00:00:00 2001 From: Greg Sterndale Date: Tue, 18 Jan 2011 08:51:44 -0500 Subject: [PATCH] Fix intermittent spec failure --- spec/couchrest/class_proxy_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/couchrest/class_proxy_spec.rb b/spec/couchrest/class_proxy_spec.rb index fc89533..f274ca9 100644 --- a/spec/couchrest/class_proxy_spec.rb +++ b/spec/couchrest/class_proxy_spec.rb @@ -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