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

17 lines
No EOL
395 B
Ruby

for provider, config in storage_providers
Shindo.tests("Storage[:#{provider}] | directories", [provider]) do
if !Fog.mocking? || config[:mocked]
directory_attributes = {
:key => 'fogdirectoriestests',
}.merge!(config[:directory_attributes] || {})
collection_tests(Fog::Storage[provider].directories, directory_attributes, config[:mocked])
end
end
end