about summary refs log tree commit homepage
path: root/test/test_mogilefs_integration.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-11-08 08:35:18 +0000
committerEric Wong <normalperson@yhbt.net>2011-11-08 08:35:18 +0000
commit9bdb7b8ca1016010277a8c5fcc96a97ee82b3558 (patch)
treeda24209b286c891ba7ab376e4b1b8c81089f2981 /test/test_mogilefs_integration.rb
parent145655bde64def9e6149137bbb577778f501d890 (diff)
downloadmogilefs-client-9bdb7b8ca1016010277a8c5fcc96a97ee82b3558.tar.gz
We can use the file_info command to get things faster, now.
Diffstat (limited to 'test/test_mogilefs_integration.rb')
-rw-r--r--test/test_mogilefs_integration.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_mogilefs_integration.rb b/test/test_mogilefs_integration.rb
index f5915bd..47dcb37 100644
--- a/test/test_mogilefs_integration.rb
+++ b/test/test_mogilefs_integration.rb
@@ -9,6 +9,7 @@ class TestMogileFSIntegration < TestMogIntegration
 
   def test_CRUD
     assert_equal 4, @client.store_content("CRUD", "default", "DATA")
+    assert_equal 4, @client.size("CRUD")
     assert_equal "DATA", @client.get_file_data("CRUD")
     sio = StringIO.new("")
     rv = @client.get_file_data("CRUD") do |rd|