Sha256: fa964f80cd9d8d371a02ea6c2e59865a8b29c571540caeedcceb1f34c5ad96d6

Contents?: true

Size: 591 Bytes

Versions: 150

Compression:

Stored size: 591 Bytes

Contents

Shindo.tests("Fog::CDN[:aws] | distributions", ['aws', 'cdn']) do
  params = { :s3_origin => { 'DNSName' => 'fog_test_cdn.s3.amazonaws.com'}, :enabled => true}
  collection_tests(Fog::CDN[:aws].distributions, params, true) do
    # distribution needs to be ready before being disabled
    tests("#ready? - may take 15 minutes to complete...").succeeds do
      @instance.wait_for { ready? }
    end

    # and disabled before being distroyed
    tests("#disable - may take 15 minutes to complete...").succeeds do
      @instance.disable
      @instance.wait_for { ready? }
    end
  end
end

Version data entries

150 entries across 148 versions & 13 rubygems

Version Path
fog-aws-3.12.0 tests/models/cdn/distributions_tests.rb
fog-aws-3.11.0 tests/models/cdn/distributions_tests.rb
fog-aws-3.10.0 tests/models/cdn/distributions_tests.rb
fog-aws-3.9.0 tests/models/cdn/distributions_tests.rb
fog-aws-3.8.0 tests/models/cdn/distributions_tests.rb
fog-aws-3.7.0 tests/models/cdn/distributions_tests.rb
fog-aws-3.6.7 tests/models/cdn/distributions_tests.rb
fog-aws-3.6.6 tests/models/cdn/distributions_tests.rb
fog-aws-3.6.5 tests/models/cdn/distributions_tests.rb
fog-aws-3.6.4 tests/models/cdn/distributions_tests.rb
fog-aws-3.6.3 tests/models/cdn/distributions_tests.rb
fog-aws-3.6.2 tests/models/cdn/distributions_tests.rb
fog-aws-3.5.2 tests/models/cdn/distributions_tests.rb
fog-aws-3.5.1 tests/models/cdn/distributions_tests.rb
fog-aws-3.5.0 tests/models/cdn/distributions_tests.rb
fog-aws-3.4.0 tests/models/cdn/distributions_tests.rb
fog-aws-3.3.0 tests/models/cdn/distributions_tests.rb
fog-aws-3.2.0 tests/models/cdn/distributions_tests.rb
fog-aws-3.1.0 tests/models/cdn/distributions_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-aws-2.0.1/tests/models/cdn/distributions_tests.rb