diff options
Diffstat (limited to 'test/test_admin.rb')
-rw-r--r-- | test/test_admin.rb | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/test_admin.rb b/test/test_admin.rb index a7b0963..c9b128c 100644 --- a/test/test_admin.rb +++ b/test/test_admin.rb @@ -64,17 +64,17 @@ class TestMogileFS__Admin < TestMogileFS @client.each_fid { |fid| fids << fid } expected = [ - { "fid" => "99", + { "fid" => 99, "class" => "normal", "domain" => "test", - "devcount" => "2", - "length" => "4", + "devcount" => 2, + "length" => 4, "key" => "file_key" }, - { "fid" => "182", + { "fid" => 182, "class" => "normal", - "devcount" => "2", + "devcount" => 2, "domain" => "test", - "length" => "9", + "length" => 9, "key" => "new_new_key" }, ] @@ -135,17 +135,17 @@ class TestMogileFS__Admin < TestMogileFS } expected = [ - { "fid" => "99", + { "fid" => 99, "class" => "normal", "domain" => "test", - "devcount" => "2", - "length" => "4", + "devcount" => 2, + "length" => 4, "key" => "file_key" }, - { "fid" => "82", + { "fid" => 82, "class" => "normal", - "devcount" => "2", + "devcount" => 2, "domain" => "test", - "length" => "9", + "length" => 9, "key" => "new_new_key" }, ] |