From 64234692e430911ab5e894fe8c9c3836a06c1b9d Mon Sep 17 00:00:00 2001 From: Michael Hale Date: Wed, 1 Jul 2015 10:49:29 -0400 Subject: [PATCH] Test list_streams return value --- tests/requests/kinesis/stream_tests.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/requests/kinesis/stream_tests.rb b/tests/requests/kinesis/stream_tests.rb index 5387c68f1..69033925f 100644 --- a/tests/requests/kinesis/stream_tests.rb +++ b/tests/requests/kinesis/stream_tests.rb @@ -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