2011-01-03 14:23:51 -05:00
|
|
|
for provider, config in storage_providers
|
2010-12-29 21:12:51 -05:00
|
|
|
|
2011-01-03 14:23:51 -05:00
|
|
|
Shindo.tests("#{provider}::Storage | directories", [provider.to_s.downcase]) do
|
2010-12-29 21:12:51 -05:00
|
|
|
|
2011-01-03 18:38:20 -05:00
|
|
|
directory_attributes = {
|
2011-01-03 14:23:51 -05:00
|
|
|
:key => 'fogdirectoriestests',
|
2011-01-03 18:38:20 -05:00
|
|
|
}.merge!(config[:directory_attributes] || {})
|
2010-12-29 21:12:51 -05:00
|
|
|
|
2011-01-03 18:38:20 -05:00
|
|
|
collection_tests(provider[:storage].directories, directory_attributes, config[:mocked])
|
2011-01-03 14:23:51 -05:00
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|