Sha256: be2aedc8b8f16fec7f15f89d9e424af4a356bd6436eb82e818f925282d49103f
Contents?: true
Size: 555 Bytes
Versions: 3
Compression:
Stored size: 555 Bytes
Contents
Shindo.tests('Storage[:local] | directories', ["local"]) do pending if Fog.mocking? @options = { :local_root => Dir.mktmpdir('fog-tests') } @collection = Fog::Local::Storage.new(@options).directories collection_tests(@collection, {:key => "fogdirtests"}, true) tests("#all") do tests("succeeds when :local_root does not exist").succeeds do FileUtils.remove_entry_secure(@options[:local_root]) @collection.all end end FileUtils.remove_entry_secure(@options[:local_root]) if File.directory?(@options[:local_root]) end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fog-local-0.8.0 | tests/local/models/directories_tests.rb |
fog-local-0.7.0 | tests/local/models/directories_tests.rb |
fog-local-0.6.0 | tests/local/models/directories_tests.rb |