Sha256: 0b2b6598c493091a03522f3d4b5f88bb475f5534e9bb87b2967009669ab5c79e

Contents?: true

Size: 434 Bytes

Versions: 55

Compression:

Stored size: 434 Bytes

Contents

Shindo.tests('Storage[:local] | directories', ["local"]) do

  pending if Fog.mocking?

  @options = { :local_root => "/tmp/fogtests" }
  @collection = Fog::Storage::Local.new(@options).directories

  collection_tests(@collection, {:key => "fogdirtests"}, true)

  tests("#all") do
    tests("succeeds when :local_root does not exist").succeeds do
      FileUtils.rm_rf(@options[:local_root])
      @collection.all
    end
  end

end

Version data entries

55 entries across 55 versions & 6 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/local/models/directories_tests.rb
fog-1.28.0 tests/local/models/directories_tests.rb
fog-local-0.1.0 tests/local/models/directories_tests.rb
fog-1.27.0 tests/local/models/directories_tests.rb
fog-1.26.0 tests/local/models/directories_tests.rb
fog-1.25.0 tests/local/models/directories_tests.rb
nsidc-fog-1.24.1 tests/local/models/directories_tests.rb
fog-1.24.0 tests/local/models/directories_tests.rb
ns-fog-1.22.11 tests/local/models/directories_tests.rb
ns-fog-1.22.10 tests/local/models/directories_tests.rb
ns-fog-1.22.9 tests/local/models/directories_tests.rb
ns-fog-1.22.8 tests/local/models/directories_tests.rb
ns-fog-1.22.7 tests/local/models/directories_tests.rb
ns-fog-1.22.6 tests/local/models/directories_tests.rb
fog-1.23.0 tests/local/models/directories_tests.rb
ns-fog-1.22.4 tests/local/models/directories_tests.rb
ns-fog-1.22.3 tests/local/models/directories_tests.rb
ns-fog-1.22.2 tests/local/models/directories_tests.rb
fog-1.22.1 tests/local/models/directories_tests.rb
fog-1.22.0 tests/local/models/directories_tests.rb