amazon-archives/aws-sdk-core-ruby

Stubbed Responses not written via :response_target

Closed this issue · 1 comments

I'm trying to test a happy path using stubbed responses for code that streams S3 data to a temporary file. The stubbed response for my 'get_object' call is not getting to the file which remains empty.

Tried to reproduce in the aws interpreter below. No errors thrown but the file is empty.

screen shot 2015-01-23 at 2 07 50 pm

I've updated to 2.0.20.pre Trevor but still see the problem. The file specified by the :response_target is empty.