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:
parent
387f374d2c
commit
def70b5b2d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue