From d2010fd7169495ea62bb9e2d4b12aab3baefab3f Mon Sep 17 00:00:00 2001 From: Michael Hale Date: Wed, 1 Jul 2015 10:41:00 -0400 Subject: [PATCH] Implement list_streams mock --- lib/fog/aws/requests/kinesis/list_streams.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/aws/requests/kinesis/list_streams.rb b/lib/fog/aws/requests/kinesis/list_streams.rb index d87fe3d68..23240fdcd 100644 --- a/lib/fog/aws/requests/kinesis/list_streams.rb +++ b/lib/fog/aws/requests/kinesis/list_streams.rb @@ -30,7 +30,7 @@ module Fog response.status = 200 response.body = { "HasMoreStreams" => false, - "StreamNames" => [] + "StreamNames" => data[:kinesis_streams].map{ |stream| stream["StreamName"] } } response end