[joyent|compute] fix format of joyent to match real output and remove mock-only test
This commit is contained in:
parent
0d203bb511
commit
5b733a4833
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue