Sha256: 1d8cac8c40cdcde156734ac44327034a6e25973638549b770727d2aec304f468

Contents?: true

Size: 611 Bytes

Versions: 150

Compression:

Stored size: 611 Bytes

Contents

Shindo.tests("Fog::CDN[:aws] | streaming_distributions", ['aws', 'cdn']) do
  params = { :s3_origin => { 'DNSName' => 'fog_test_cdn.s3.amazonaws.com'}, :enabled => true}
  collection_tests(Fog::CDN[:aws].streaming_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
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-aws-2.0.1/tests/models/cdn/streaming_distributions_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-aws-2.0.1/tests/models/cdn/streaming_distributions_tests.rb
fog-aws-3.0.0 tests/models/cdn/streaming_distributions_tests.rb
fog-aws-2.0.1 tests/models/cdn/streaming_distributions_tests.rb
fog-aws-2.0.0 tests/models/cdn/streaming_distributions_tests.rb
fog-aws-1.4.1 tests/models/cdn/streaming_distributions_tests.rb
fog-aws-1.4.0 tests/models/cdn/streaming_distributions_tests.rb
fog-aws-1.3.0 tests/models/cdn/streaming_distributions_tests.rb
fog-aws-1.2.1 tests/models/cdn/streaming_distributions_tests.rb
fog-aws-1.2.0 tests/models/cdn/streaming_distributions_tests.rb
fog-aws-1.1.0 tests/models/cdn/streaming_distributions_tests.rb
fog-aws-1.0.0 tests/models/cdn/streaming_distributions_tests.rb
fog-aws-0.13.0 tests/models/cdn/streaming_distributions_tests.rb
fog-aws-0.12.0 tests/models/cdn/streaming_distributions_tests.rb
fog-aws-0.11.0 tests/models/cdn/streaming_distributions_tests.rb
fog-aws-0.10.0 tests/models/cdn/streaming_distributions_tests.rb
fog-aws-0.9.4 tests/models/cdn/streaming_distributions_tests.rb
fog-aws-0.9.3 tests/models/cdn/streaming_distributions_tests.rb
fog-aws-0.9.2 tests/models/cdn/streaming_distributions_tests.rb
fog-aws-0.9.1 tests/models/cdn/streaming_distributions_tests.rb