Sha256: 301ebc839537fdfacadf8392bfdeb031eb0ae750ae8e0f3e54668365dbabe3a3

Contents?: true

Size: 606 Bytes

Versions: 150

Compression:

Stored size: 606 Bytes

Contents

Shindo.tests("Fog::CDN[:aws] | streaming_distribution", ['aws', 'cdn']) do
  params = { :s3_origin => { 'DNSName' => 'fog_test_cdn.s3.amazonaws.com'}, :enabled => true }
  model_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-aws-0.0.8 tests/models/cdn/streaming_distribution_tests.rb
fog-aws-0.0.7 tests/models/cdn/streaming_distribution_tests.rb
fog-aws-0.0.6 tests/models/cdn/streaming_distribution_tests.rb
fog-aws-0.0.5 tests/models/cdn/streaming_distribution_tests.rb
fog-1.26.0 tests/aws/models/cdn/streaming_distribution_tests.rb
fog-1.25.0 tests/aws/models/cdn/streaming_distribution_tests.rb
nsidc-fog-1.24.1 tests/aws/models/cdn/streaming_distribution_tests.rb
fog-1.24.0 tests/aws/models/cdn/streaming_distribution_tests.rb
ns-fog-1.22.11 tests/aws/models/cdn/streaming_distribution_tests.rb
ns-fog-1.22.10 tests/aws/models/cdn/streaming_distribution_tests.rb
ns-fog-1.22.9 tests/aws/models/cdn/streaming_distribution_tests.rb
ns-fog-1.22.8 tests/aws/models/cdn/streaming_distribution_tests.rb
ns-fog-1.22.7 tests/aws/models/cdn/streaming_distribution_tests.rb
ns-fog-1.22.6 tests/aws/models/cdn/streaming_distribution_tests.rb
fog-1.23.0 tests/aws/models/cdn/streaming_distribution_tests.rb
ns-fog-1.22.4 tests/aws/models/cdn/streaming_distribution_tests.rb
ns-fog-1.22.3 tests/aws/models/cdn/streaming_distribution_tests.rb
ns-fog-1.22.2 tests/aws/models/cdn/streaming_distribution_tests.rb
fog-1.22.1 tests/aws/models/cdn/streaming_distribution_tests.rb
fog-1.22.0 tests/aws/models/cdn/streaming_distribution_tests.rb