1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/aws/requests/beanstalk/solution_stack_tests.rb

23 lines
655 B
Ruby
Raw Normal View History

2012-03-15 20:19:47 -04:00
Shindo.tests('AWS::ElasticBeanstalk | solution_stack_tests', ['aws', 'beanstalk']) do
tests('success') do
pending if Fog.mocking?
@solution_stack_result_format = {
'ListAvailableSolutionStacksResult' => {
'SolutionStackDetails' => [
'SolutionStackName' => String,
'PermittedFileTypes' => [String]
],
'SolutionStacks' => [String]
},
'ResponseMetadata' => {'RequestId'=> String},
}
tests("#list_available_solution_stacks").formats(@solution_stack_result_format) do
Fog::AWS[:beanstalk].list_available_solution_stacks.body
end
end
end