mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[aws|storage] Add mock for Fog::Storage::AWS#delete_multiple_objects
This commit is contained in:
parent
f0e8ae0cff
commit
564f839e4d
1 changed files with 0 additions and 4 deletions
|
@ -102,7 +102,6 @@ Shindo.tests('AWS::Storage | object requests', ['aws']) do
|
||||||
{ 'Deleted' => { 'Key' => 'fog_object' } }
|
{ 'Deleted' => { 'Key' => 'fog_object' } }
|
||||||
]
|
]
|
||||||
}) do
|
}) do
|
||||||
pending if Fog.mocking?
|
|
||||||
Fog::Storage[:aws].delete_multiple_objects(@directory.identity, ['fog_object'])
|
Fog::Storage[:aws].delete_multiple_objects(@directory.identity, ['fog_object'])
|
||||||
Fog::Storage[:aws].delete_multiple_objects(@directory.identity, ['fog_object']).body
|
Fog::Storage[:aws].delete_multiple_objects(@directory.identity, ['fog_object']).body
|
||||||
end
|
end
|
||||||
|
@ -148,10 +147,7 @@ Shindo.tests('AWS::Storage | object requests', ['aws']) do
|
||||||
end
|
end
|
||||||
|
|
||||||
tests("#delete_multiple_objects('fognonbucket', ['fog_non_object'])").raises(Excon::Errors::NotFound) do
|
tests("#delete_multiple_objects('fognonbucket', ['fog_non_object'])").raises(Excon::Errors::NotFound) do
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
pending if Fog.mocking?
|
pending if Fog.mocking?
|
||||||
>>>>>>> [aws|storage] Add Fog::Storage::AWS#delete_multiple_objects
|
|
||||||
Fog::Storage[:aws].delete_multiple_objects('fognonbucket', ['fog_non_object'])
|
Fog::Storage[:aws].delete_multiple_objects('fognonbucket', ['fog_non_object'])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue