[joyent|compute] fix format of joyent to match real output and remove mock-only test

This commit is contained in:
geemus 2012-02-20 09:09:09 -06:00
parent 0d203bb511
commit 5b733a4833
1 changed files with 2 additions and 4 deletions

View File

@ -1,5 +1,7 @@
Shindo.tests("Fog::Compute[:joyent] | dataset requests", ["joyent"]) do
@dataset_format = {
"description" => String,
"requirements" => {},
"name" => String,
"version" => String,
"os" => String,
@ -39,9 +41,5 @@ Shindo.tests("Fog::Compute[:joyent] | dataset requests", ["joyent"]) do
formats(@dataset_format) do
Fog::Compute[:joyent].list_datasets.body.first
end
returns(Fog::Compute[:joyent].data[:datasets].length) do
Fog::Compute[:joyent].list_datasets.body.length
end
end
end