Sha256: 091b3986e9b795e672c48a00c1b2d08b9ba04c6e60e4f78c197c1a56e8bb0ad8

Contents?: true

Size: 567 Bytes

Versions: 30

Compression:

Stored size: 567 Bytes

Contents

Shindo.tests("Fog::Storage[:hp] | directories", ['hp', 'storage']) do

  collection_tests(Fog::Storage[:hp].directories, {:key => "fogdirtests"}, true)

  tests('success') do

    tests("#create('fogdirtests')").succeeds do
      Fog::Storage[:hp].directories.create(:key => 'fogdirtests')
    end

    tests("#head('fogdirtests')").succeeds do
      Fog::Storage[:hp].directories.head('fogdirtests')
    end

    tests("#get('fogdirtests')").succeeds do
      @directory = Fog::Storage[:hp].directories.get('fogdirtests')
    end

    @directory.destroy

  end

end

Version data entries

30 entries across 30 versions & 4 rubygems

Version Path
fog-1.38.0 tests/hp/models/storage/directories_tests.rb
fog-1.37.0 tests/hp/models/storage/directories_tests.rb
fog-1.36.0 tests/hp/models/storage/directories_tests.rb
fog-1.35.0 tests/hp/models/storage/directories_tests.rb
fog-2.0.0.pre.0 tests/hp/models/storage/directories_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/tests/hp/models/storage/directories_tests.rb
fog-1.34.0 tests/hp/models/storage/directories_tests.rb
fog-1.33.0 tests/hp/models/storage/directories_tests.rb
fog-1.32.0 tests/hp/models/storage/directories_tests.rb
fog-1.31.0 tests/hp/models/storage/directories_tests.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/hp/models/storage/directories_tests.rb
fog-1.30.0 tests/hp/models/storage/directories_tests.rb
fog-1.29.0 tests/hp/models/storage/directories_tests.rb
fog-1.28.0 tests/hp/models/storage/directories_tests.rb
fog-1.27.0 tests/hp/models/storage/directories_tests.rb
fog-1.26.0 tests/hp/models/storage/directories_tests.rb
fog-1.25.0 tests/hp/models/storage/directories_tests.rb
nsidc-fog-1.24.1 tests/hp/models/storage/directories_tests.rb
fog-1.24.0 tests/hp/models/storage/directories_tests.rb
ns-fog-1.22.11 tests/hp/models/storage/directories_tests.rb