Sha256: 1514b3f4b3dc20b8900afa8b1c791dfbca7e97f1f4bb25ac79618c95c439ced4

Contents?: true

Size: 692 Bytes

Versions: 28

Compression:

Stored size: 692 Bytes

Contents

for provider, config in storage_providers

  Shindo.tests("Storage[:#{provider}] | directory", [provider]) do

    if !Fog.mocking? || config[:mocked]

      directory_attributes = {
        :key => 'fogdirectorytests'
      }.merge!(config[:directory_attributes] || {})

      model_tests(Fog::Storage[provider].directories, directory_attributes, config[:mocked]) do

        tests("#public=(true)").succeeds do
          pending if Fog.mocking? && !config[:mocked]
          @instance.public=(true)
        end

        tests('responds_to(:public_url)') do
          pending if Fog.mocking? && !config[:mocked]
          responds_to(:public_url)
        end

      end

    end

  end

end

Version data entries

28 entries across 28 versions & 8 rubygems

Version Path
fog-1.5.0 tests/storage/models/directory_test.rb
rackspace-fog-1.4.2 tests/storage/models/directory_test.rb
fog-1.4.0 tests/storage/models/directory_test.rb
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/tests/storage/models/directory_test.rb
michiels-fog-1.3.1 tests/storage/models/directory_test.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/tests/storage/models/directory_test.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/tests/storage/models/directory_test.rb
fog-1.3.1 tests/storage/models/directory_test.rb
fog-1.3.0 tests/storage/models/directory_test.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/tests/storage/models/directory_test.rb
fog-1.2.0 tests/storage/models/directory_test.rb
ktheory-fog-1.1.2 tests/storage/models/directory_test.rb
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/fog/tests/storage/models/directory_test.rb
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/fog/tests/storage/models/directory_test.rb
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/fog/tests/storage/models/directory_test.rb
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/tests/storage/models/directory_test.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/tests/storage/models/directory_test.rb
fog-1.1.2 tests/storage/models/directory_test.rb
fog_tractical-1.1.4 tests/storage/models/directory_test.rb
fog_tractical-1.1.3 tests/storage/models/directory_test.rb