removed version test

This commit is contained in:
Chris Anderson 2008-07-25 13:47:35 -07:00
parent f8d1167ade
commit 93f95741c4

View file

@ -16,19 +16,6 @@ describe CouchRest do
end end
end end
describe "tested against the current CouchDB svn revision" do
it "should be up to date" do
v = @cr.info["version"]
if /incubating/.match(v)
v.should include('0.8.0')
else
vi = v.split(/a/).pop.to_i
vi.should be >= 661484 # versions older than this will likely fail many specs
vi.should be <= 663797 # versions newer than this haven't been tried
end
end
end
describe "getting info" do describe "getting info" do
it "should list databases" do it "should list databases" do
@cr.databases.should be_an_instance_of(Array) @cr.databases.should be_an_instance_of(Array)