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:
parent
d2010fd716
commit
64234692e4
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue