[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
1 changed files with 1 additions and 0 deletions

View File

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