From 939ecaaf736c8f19f1080da6b66f027013666aff Mon Sep 17 00:00:00 2001 From: Chris Anderson Date: Fri, 23 May 2008 10:18:09 -0700 Subject: [PATCH] just keeping up with the versions --- spec/couch_rest_spec.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/couch_rest_spec.rb b/spec/couch_rest_spec.rb index f2d2f21..f43719b 100644 --- a/spec/couch_rest_spec.rb +++ b/spec/couch_rest_spec.rb @@ -20,7 +20,9 @@ describe CouchRest do describe "tested against the current CouchDB svn revision" do it "should be up to date" do - @cr.info["version"].should == "0.7.3a658733" + v = @cr.info["version"] + vi = v.split(/a/).pop.to_i + vi.should be_between 658733, 659600 end end