2011-01-03 11:23:51 -08:00
|
|
|
for provider, config in storage_providers
|
2010-12-29 18:12:51 -08:00
|
|
|
|
2011-01-03 11:23:51 -08:00
|
|
|
Shindo.tests("#{provider}::Storage | directories", [provider.to_s.downcase]) do
|
2010-12-29 18:12:51 -08:00
|
|
|
|
2011-01-03 13:36:31 -08:00
|
|
|
attributes = {
|
2011-01-03 11:23:51 -08:00
|
|
|
:key => 'fogdirectoriestests',
|
2011-01-03 13:36:31 -08:00
|
|
|
}.merge!(config[:directories_attributes] || {})
|
2010-12-29 18:12:51 -08:00
|
|
|
|
2011-01-03 13:36:31 -08:00
|
|
|
collection_tests(provider[:storage].directories, attributes, config[:mocked])
|
2011-01-03 11:23:51 -08:00
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|