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

[joyent|compute] fix dataset format in tests

This commit is contained in:
geemus 2012-07-28 11:06:00 -05:00
parent c5cd35c4fa
commit 48ed09790c

View file

@ -1,7 +1,10 @@
Shindo.tests("Fog::Compute[:joyent] | dataset requests", ["joyent"]) do Shindo.tests("Fog::Compute[:joyent] | dataset requests", ["joyent"]) do
@dataset_format = { @dataset_format = {
"description" => String, "description" => String,
"requirements" => {}, "requirements" => {
"max_memory" => Integer,
"min_memory" => Integer
},
"name" => String, "name" => String,
"version" => String, "version" => String,
"os" => String, "os" => String,
@ -22,7 +25,10 @@ Shindo.tests("Fog::Compute[:joyent] | dataset requests", ["joyent"]) do
"type" => "smartmachine", "type" => "smartmachine",
"description" => "Zeus Simple Load Balancer 200 Mbps SmartMachine", "description" => "Zeus Simple Load Balancer 200 Mbps SmartMachine",
"default" => false, "default" => false,
"requirements" => {}, "requirements" => {
"max_memory" => 32768,
"min_memory" => 4096
},
"version" => "1.1.1", "version" => "1.1.1",
"created" => Time.parse("2011-09-15T07:39:13+00:00") "created" => Time.parse("2011-09-15T07:39:13+00:00")
}, },
@ -34,7 +40,10 @@ Shindo.tests("Fog::Compute[:joyent] | dataset requests", ["joyent"]) do
"type" => "smartmachine", "type" => "smartmachine",
"description" => "MySQL SmartMachine", "description" => "MySQL SmartMachine",
"default" => false, "default" => false,
"requirements" => {}, "requirements" => {
"max_memory" => 32768,
"min_memory" => 4096
},
"version" => "1.4.1", "version" => "1.4.1",
"created" => Time.parse("2011-09-15T05:01:34+00:00") "created" => Time.parse("2011-09-15T05:01:34+00:00")
} }