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

[storage] Fixed what appeared to be broken test (I only verified with Rackspace provider)

This commit is contained in:
Brian Hartsock 2011-09-20 11:03:56 -05:00
parent 387f374d2c
commit def70b5b2d

View file

@ -8,7 +8,7 @@ for provider, config in storage_providers
:key => 'fogdirectorytests'
}.merge!(config[:directory_attributes] || {})
model_tests(Fog::Storage[provider].directory, directory_attributes, config[:mocked]) do
model_tests(Fog::Storage[provider].directories, directory_attributes, config[:mocked]) do
tests("#public=(true)").succeeds do
pending if Fog.mocking? && !config[:mocked]
@ -17,7 +17,7 @@ for provider, config in storage_providers
tests('responds_to(:public_url)') do
pending if Fog.mocking? && !config[:mocked]
@instance.responds_to(:public_url)
responds_to(:public_url)
end
end