about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-11-19 00:18:31 +0000
committerEric Wong <normalperson@yhbt.net>2011-11-19 00:18:31 +0000
commit381044eeda55a5ca7edcccd87d27c30a287723e1 (patch)
treec170623fc95b990fafb7b555ad41e23b18295c07
parentd2c175aaafa9a06c377de5df609759073d93e894 (diff)
downloadmogilefs-client-381044eeda55a5ca7edcccd87d27c30a287723e1.tar.gz
integration tests > unit tests :P
-rw-r--r--test/test_admin.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/test_admin.rb b/test/test_admin.rb
index c9b128c..ba24723 100644
--- a/test/test_admin.rb
+++ b/test/test_admin.rb
@@ -35,11 +35,6 @@ class TestMogileFS__Admin < TestMogileFS
   end
 
   def test_each_fid
-    @backend.stats = {
-      'fidmax' => '182',
-      'fidcount' => '2',
-    }
-
     @backend.list_fids = {
       'fid_count' => '1',
       'fid_1_fid' => '99',
@@ -59,6 +54,7 @@ class TestMogileFS__Admin < TestMogileFS
       'fid_1_key' => 'new_new_key',
       'fid_1_length' => '9',
     }
+    @backend.list_fids = { 'fid_count' => 0 }
 
     fids = []
     @client.each_fid { |fid| fids << fid }