Sha256: 3260d45f0fb0fe4c2350fb92fc19b62561a2c79c07361a4ed9f02fa17debf03e
Contents?: true
Size: 583 Bytes
Versions: 22
Compression:
Stored size: 583 Bytes
Contents
Shindo.tests('Fog::Google[:sql] | operation model', ['google']) do @instance = Fog::Google[:sql].instances.create(:instance => Fog::Mock.random_letters(16), :tier => 'D1') @instance.wait_for { ready? } @operations = Fog::Google[:sql].operations @operation = @operations.all(@instance.instance).first tests('success') do tests('#pending?').succeeds do @operation.pending? == false end tests('#ready?').succeeds do @operation.ready? == true end tests('#reload').succeeds do @operation.reload end end @instance.destroy end
Version data entries
22 entries across 20 versions & 5 rubygems