Sha256: 89c29b313ffa77ee1bb9d79088ef6bf1c8513d96e099b36fcbc38cdbe0732339

Contents?: true

Size: 593 Bytes

Versions: 22

Compression:

Stored size: 593 Bytes

Contents

Shindo.tests('Fog::Google[:sql] | ssl_cert model', ['google']) do
  @instance = Fog::Google[:sql].instances.create(:instance => Fog::Mock.random_letters(16), :tier => 'D1')
  @instance.wait_for { ready? }
  @ssl_certs = Fog::Google[:sql].ssl_certs

  tests('success') do

    tests('#create').succeeds do
      @ssl_cert = @ssl_certs.create(:instance => @instance.instance, :common_name => Fog::Mock.random_letters(16))
    end

    tests('#reload').succeeds do
      @ssl_cert.reload
    end

    tests('#destroy').succeeds do
      @ssl_cert.destroy
    end

  end

  @instance.destroy

end

Version data entries

22 entries across 20 versions & 5 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-google-0.1.0/tests/models/sql/ssl_cert_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-google-0.1.0/tests/models/sql/ssl_cert_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-google-0.1.0/tests/models/sql/ssl_cert_tests.rb
fog-google-0.1.3 tests/models/sql/ssl_cert_tests.rb
fog-google-0.1.2 tests/models/sql/ssl_cert_tests.rb
fog-google-0.1.1 tests/models/sql/ssl_cert_tests.rb
fog-google-0.1.0 tests/models/sql/ssl_cert_tests.rb
fog-google-0.0.9 tests/models/sql/ssl_cert_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-google-0.0.7/tests/models/sql/ssl_cert_tests.rb
fog-google-0.0.7 tests/models/sql/ssl_cert_tests.rb
fog-google-0.0.6 tests/models/sql/ssl_cert_tests.rb
fog-google-0.0.5 tests/models/sql/ssl_cert_tests.rb
fog-google-0.0.4 tests/models/sql/ssl_cert_tests.rb
fog-google-0.0.3 tests/models/sql/ssl_cert_tests.rb
fog-google-0.0.2 tests/models/sql/ssl_cert_tests.rb
fog-1.29.0 tests/google/models/sql/ssl_cert_tests.rb
fog-1.28.0 tests/google/models/sql/ssl_cert_tests.rb
fog-1.27.0 tests/google/models/sql/ssl_cert_tests.rb
fog-1.26.0 tests/google/models/sql/ssl_cert_tests.rb
fog-1.25.0 tests/google/models/sql/ssl_cert_tests.rb