tests/models/sql/operation_tests.rb in fog-google-0.1.3 vs tests/models/sql/operation_tests.rb in fog-google-0.2.0

- old
+ new

@@ -1,13 +1,12 @@ -Shindo.tests('Fog::Google[:sql] | operation model', ['google']) do - @instance = Fog::Google[:sql].instances.create(:instance => Fog::Mock.random_letters(16), :tier => 'D1') +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("success") do tests('#pending?').succeeds do @operation.pending? == false end tests('#ready?').succeeds do @@ -15,11 +14,9 @@ end tests('#reload').succeeds do @operation.reload end - end @instance.destroy - end