Sha256: d1cc60ac408594cc36837e5162aaeea4fd3e76366664b2236ffc3a55094af2b9

Contents?: true

Size: 590 Bytes

Versions: 14

Compression:

Stored size: 590 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

14 entries across 14 versions & 1 rubygems

Version Path
fog-google-0.6.0 tests/models/sql/ssl_cert_tests.rb
fog-google-0.5.5 tests/models/sql/ssl_cert_tests.rb
fog-google-0.5.4 tests/models/sql/ssl_cert_tests.rb
fog-google-0.5.3 tests/models/sql/ssl_cert_tests.rb
fog-google-0.5.2 tests/models/sql/ssl_cert_tests.rb
fog-google-0.5.1 tests/models/sql/ssl_cert_tests.rb
fog-google-0.5.0 tests/models/sql/ssl_cert_tests.rb
fog-google-0.4.2 tests/models/sql/ssl_cert_tests.rb
fog-google-0.4.1 tests/models/sql/ssl_cert_tests.rb
fog-google-0.4.0 tests/models/sql/ssl_cert_tests.rb
fog-google-0.3.2 tests/models/sql/ssl_cert_tests.rb
fog-google-0.3.1 tests/models/sql/ssl_cert_tests.rb
fog-google-0.3.0 tests/models/sql/ssl_cert_tests.rb
fog-google-0.2.0 tests/models/sql/ssl_cert_tests.rb