Merge pull request #542 from backupify/fix_mocked_s3_copy_object

Fixed an issue with S3 mocked copy_object command.
This commit is contained in:
Wesley Beary 2011-10-04 16:06:55 -07:00
commit 7ba2f1b964
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ module Fog
response.status = 200
target_object = source_object.dup
target_object.merge!({
'Name' => target_object_name
'Key' => target_object_name
})
target_bucket[:objects][target_object_name] = target_object
response.body = {