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:
parent
058358d67d
commit
634f25b8f4
1 changed files with 30 additions and 0 deletions
30
tests/compute/requests/linode/stack_scripts_tests.rb
Normal file
30
tests/compute/requests/linode/stack_scripts_tests.rb
Normal 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
|
Loading…
Add table
Reference in a new issue