From 381044eeda55a5ca7edcccd87d27c30a287723e1 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 19 Nov 2011 00:18:31 +0000 Subject: [PATCH] test_admin: fix test due to broken mocks integration tests > unit tests :P --- test/test_admin.rb | 6 +----- 1 file changed, 1 insertion(+), 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 } -- 2.11.4.GIT