1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[rackspace|storage] mark get_object with block test pending when mocked

This commit is contained in:
geemus 2011-05-03 11:44:32 -07:00
parent d854216d0f
commit 9a9667008b

View file

@ -17,6 +17,7 @@ Shindo.tests('Rackspace::Storage | object requests', ['rackspace']) do
end end
tests("#get_object('fogobjecttests', 'fog_object', &block)").returns(lorem_file.read) do tests("#get_object('fogobjecttests', 'fog_object', &block)").returns(lorem_file.read) do
pending if Fog.mocking?
data = '' data = ''
Rackspace[:storage].get_object('fogobjecttests', 'fog_object') do |chunk, remaining_bytes, total_bytes| Rackspace[:storage].get_object('fogobjecttests', 'fog_object') do |chunk, remaining_bytes, total_bytes|
data << chunk data << chunk