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