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

13 lines
No EOL
346 B
Ruby

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