Sha256: 4d124bbbcb49a48116fd153dcf2a797e6c000b575996e5b08c77f55f0b2d3781
Contents?: true
Size: 607 Bytes
Versions: 35
Compression:
Stored size: 607 Bytes
Contents
for provider, config in storage_providers Shindo.tests("Storage[:#{provider}] | files", [provider]) 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
35 entries across 35 versions & 9 rubygems