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
fog-1.21.0 tests/aws/models/cdn/streaming_distributions_tests.rb
fog-maestrodev-1.20.0.20140305101839 tests/aws/models/cdn/streaming_distributions_tests.rb
fog-maestrodev-1.20.0.20140305101305 tests/aws/models/cdn/streaming_distributions_tests.rb
fog-maestrodev-1.19.0.20140212012611 tests/aws/models/cdn/streaming_distributions_tests.rb
fog-1.20.0 tests/aws/models/cdn/streaming_distributions_tests.rb
fog-maestrodev-1.19.0.20140110004459 tests/aws/models/cdn/streaming_distributions_tests.rb
fog-maestrodev-1.19.0.20140110003812 tests/aws/models/cdn/streaming_distributions_tests.rb
fog-maestrodev-1.19.0.20140109202555 tests/aws/models/cdn/streaming_distributions_tests.rb
fog-maestrodev-1.19.0.20140107192102 tests/aws/models/cdn/streaming_distributions_tests.rb
fog-maestrodev-1.19.0.20140107142106 tests/aws/models/cdn/streaming_distributions_tests.rb
fog-maestrodev-1.19.0.20131219203941 tests/aws/models/cdn/streaming_distributions_tests.rb
fog-maestrodev-1.18.0.20131219193542 tests/aws/models/cdn/streaming_distributions_tests.rb
fog-1.19.0 tests/aws/models/cdn/streaming_distributions_tests.rb
fog-maestrodev-1.18.0.20131219033443 tests/aws/models/cdn/streaming_distributions_tests.rb
fog-maestrodev-1.18.0.20131219032002 tests/aws/models/cdn/streaming_distributions_tests.rb
fog-maestrodev-1.18.0.20131219030716 tests/aws/models/cdn/streaming_distributions_tests.rb
fog-maestrodev-1.18.0.20131219022322 tests/aws/models/cdn/streaming_distributions_tests.rb
fog-maestrodev-1.18.0.20131218202447 tests/aws/models/cdn/streaming_distributions_tests.rb
fog-maestrodev-1.18.0.20131209091424 tests/aws/models/cdn/streaming_distributions_tests.rb
fog-maestrodev-1.18.0.20131209090811 tests/aws/models/cdn/streaming_distributions_tests.rb