Sha256: 5d7c50d7712a05573421b9c4ecb692d6afc1a4e203721892f29edaf878adbc7b

Contents?: true

Size: 586 Bytes

Versions: 150

Compression:

Stored size: 586 Bytes

Contents

Shindo.tests("Fog::CDN[:aws] | distribution", ['aws', 'cdn']) do
  params = { :s3_origin => { 'DNSName' => 'fog_test_cdn.s3.amazonaws.com'}, :enabled => true }
  model_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-maestrodev-1.15.0.20130829165835 tests/aws/models/cdn/distribution_tests.rb
fog-1.15.0 tests/aws/models/cdn/distribution_tests.rb
gapinc-fog-1.14.0 tests/aws/models/cdn/distribution_tests.rb
fog-maestrodev-1.14.0.20130806165225 tests/aws/models/cdn/distribution_tests.rb
fog-1.14.0 tests/aws/models/cdn/distribution_tests.rb
fog-1.13.0 tests/aws/models/cdn/distribution_tests.rb
gapinc-fog-1.12.1.2 tests/aws/models/cdn/distribution_tests.rb
gapinc-fog-1.12.1.1 tests/aws/models/cdn/distribution_tests.rb
gapinc-fog-1.12.1a tests/aws/models/cdn/distribution_tests.rb
gapinc-fog-1.12.1 tests/aws/models/cdn/distribution_tests.rb
fog-1.12.1 tests/aws/models/cdn/distribution_tests.rb
fog-1.12.0 tests/aws/models/cdn/distribution_tests.rb
hpfog-0.0.20 tests/aws/models/cdn/distribution_tests.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/tests/aws/models/cdn/distribution_tests.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/tests/aws/models/cdn/distribution_tests.rb
fog-nirvanix-1.8.2 tests/aws/models/cdn/distribution_tests.rb
fog-1.11.1 tests/aws/models/cdn/distribution_tests.rb
fog-1.11.0 tests/aws/models/cdn/distribution_tests.rb
fog-nirvanix-1.8.1 tests/aws/models/cdn/distribution_tests.rb
fog-1.10.1 tests/aws/models/cdn/distribution_tests.rb