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

more passing tests

This commit is contained in:
nightshade427 2011-03-21 10:38:15 -04:00 committed by Nicholas Ricketts
parent 058358d67d
commit 634f25b8f4

View file

@ -0,0 +1,30 @@
Shindo.tests('Linode::Compute | stack_script requests', ['linode']) do
@stack_scripts_format = Linode::Compute::Formats::BASIC.merge({
'DATA' => [{
'STACKSCRIPTID' => Integer,
'SCRIPT' => String,
'DESCRIPTION' => String,
'DISTRIBUTIONIDLIST' => Integer,
'LABEL' => String,
'DEPLOYMENTSTOTAL' => Integer,
'LATESTREV' => Integer,
'CREATE_DT' => String,
'DEPLOYMENTSACTIVE' => Integer,
'REV_NOTE' => String,
'REV_DT' => String,
'ISPUBLIC' => Integer,
'USERID' => Integer
}]
})
tests('success') do
tests('#avail_stack_scripts').formats(@stack_scripts_format) do
pending if Fog.mocking?
Linode[:compute].stackscript_list.body
end
end
end