Sha256: e0296bdab2bd7f65b8a83270687fc0aa5e9112609ff3057817023e137d36ceb0
Contents?: true
Size: 598 Bytes
Versions: 16
Compression:
Stored size: 598 Bytes
Contents
for provider, config in storage_providers Shindo.tests("#{provider}::Storage | files", [provider.to_s.downcase]) do file_attributes = { :key => 'fog_files_tests', :body => lorem_file }.merge!(config[:file_attributes] || {}) if !Fog.mocking? || config[:mocked] directory_attributes = { :key => 'fogfilestests' }.merge!(config[:directory_attributes] || {}) @directory = provider.directories.create(directory_attributes) collection_tests(@directory.files, file_attributes, config[:mocked]) @directory.destroy end end end
Version data entries
16 entries across 16 versions & 2 rubygems