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

Test list_streams return value

This commit is contained in:
Michael Hale 2015-07-01 10:49:29 -04:00
parent d2010fd716
commit 64234692e4

View file

@ -93,6 +93,10 @@ Shindo.tests('AWS::Kinesis | stream requests', ['aws', 'kinesis']) do
Fog::AWS[:kinesis].list_streams.body
end
tests("#list_streams").returns(true) do
Fog::AWS[:kinesis].list_streams.body["StreamNames"].include?(@stream_id)
end
tests("#describe_stream").formats(@describe_stream_format) do
Fog::AWS[:kinesis].describe_stream("StreamName" => @stream_id).body
end