Sha256: 6550aacd29cff5157a045ab6ebb948d768e07496618d04e2acee814d624017c9
Contents?: true
Size: 580 Bytes
Versions: 14
Compression:
Stored size: 580 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
14 entries across 14 versions & 1 rubygems