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

Fixes the failure for hp storage

This commit is contained in:
Bohuslav Kabrda 2012-07-02 15:03:07 +02:00
parent 36ad5bcea4
commit ed558859c6

View file

@ -21,7 +21,7 @@ for provider, config in storage_providers
responds_to(:public_url)
tests("#public=(true)").succeeds do
pending if Fog.mocking? && !config[:mocked]
pending if Fog.mocking? && !config[:mocked] || !Fog::Storage[provider].respond_to?(:public=)
@instance.public=(true)
end