<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -5,6 +5,7 @@ require 'uri'
 
 describe ActiveCouch::Exporter, &quot;#all_databases (that actually connects to a CouchDB server)&quot; do  
   before(:each) do
+    @original_db_size = ActiveCouch::Exporter.all_databases('http://localhost:5984').size
     ActiveCouch::Exporter.create_database('http://localhost:5984/', 'ac_test_1')
     ActiveCouch::Exporter.create_database('http://localhost:5984/', 'ac_test_2')    
   end
@@ -16,7 +17,7 @@ describe ActiveCouch::Exporter, &quot;#all_databases (that actually connects to a Cou
   
   it &quot;should list all databases currently in CouchDB&quot; do
     databases = ActiveCouch::Exporter.all_databases('http://localhost:5984')
-    databases.size.should == 2
+    databases.size.should == (2 + @original_db_size)
     databases.include?('ac_test_1').should == true
     databases.include?('ac_test_2').should == true    
   end</diff>
      <filename>spec/exporter/all_databases_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>50f8b48fc884c0ab32ac85876a545df504688bd3</id>
    </parent>
  </parents>
  <author>
    <name>Derek Perez</name>
    <email>derek@caring.com</email>
  </author>
  <url>http://github.com/arunthampi/activecouch/commit/ab8b5bae83d672966777c015fa4091929f442f6d</url>
  <id>ab8b5bae83d672966777c015fa4091929f442f6d</id>
  <committed-date>2009-03-14T22:07:40-07:00</committed-date>
  <authored-date>2009-03-14T13:19:50-07:00</authored-date>
  <message>fixed a failing test that didn't account for other databases living in couchdb other than the ones created by the test.

Signed-off-by: Arun Thampi &lt;arun.thampi@gmail.com&gt;</message>
  <tree>c1f382e155f67cf5505458d84d29a163634d257b</tree>
  <committer>
    <name>Arun Thampi</name>
    <email>arun.thampi@gmail.com</email>
  </committer>
</commit>
