[storage] Fixed what appeared to be broken test (I only verified with Rackspace provider)
This commit is contained in:
parent
387f374d2c
commit
def70b5b2d
|
@ -8,7 +8,7 @@ for provider, config in storage_providers
|
||||||
:key => 'fogdirectorytests'
|
:key => 'fogdirectorytests'
|
||||||
}.merge!(config[:directory_attributes] || {})
|
}.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
|
tests("#public=(true)").succeeds do
|
||||||
pending if Fog.mocking? && !config[:mocked]
|
pending if Fog.mocking? && !config[:mocked]
|
||||||
|
@ -17,7 +17,7 @@ for provider, config in storage_providers
|
||||||
|
|
||||||
tests('responds_to(:public_url)') do
|
tests('responds_to(:public_url)') do
|
||||||
pending if Fog.mocking? && !config[:mocked]
|
pending if Fog.mocking? && !config[:mocked]
|
||||||
@instance.responds_to(:public_url)
|
responds_to(:public_url)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue