1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[google|storage] fix format in tests

This commit is contained in:
geemus 2010-12-08 16:08:58 -08:00
parent 4cfc143e97
commit 9062b6a353

View file

@ -3,11 +3,12 @@ Shindo.tests('Google::Storage | bucket requests', ['google']) do
tests('success') do tests('success') do
@bucket_format = { @bucket_format = {
'IsTruncated' => Fog::Boolean, 'CommonPrefixes' => [],
'Marker' => NilClass, 'IsTruncated' => Fog::Boolean,
'Name' => String, 'Marker' => NilClass,
'Prefix' => NilClass, 'Name' => String,
'Contents' => [{ 'Prefix' => NilClass,
'Contents' => [{
'ETag' => String, 'ETag' => String,
'Key' => String, 'Key' => String,
'LastModified' => Time, 'LastModified' => Time,
@ -16,7 +17,7 @@ Shindo.tests('Google::Storage | bucket requests', ['google']) do
'ID' => String 'ID' => String
}, },
'Size' => Integer, 'Size' => Integer,
'StorageClass' => String 'StorageClass' => String
}] }]
} }