mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
31 lines
868 B
Ruby
31 lines
868 B
Ruby
![]() |
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
|