Sha256: f315b538f388035c19a7172c6a40f7c7f03eb92544233553e7d076b180781a4d
Contents?: true
Size: 421 Bytes
Versions: 33
Compression:
Stored size: 421 Bytes
Contents
def server_tests(connection, params = {}, mocks_implemented = true) model_tests(connection.servers, params, mocks_implemented) do responds_to([:ready?, :state]) tests('#reboot').succeeds do pending if Fog.mocking? && !mocks_implemented @instance.wait_for { ready? } @instance.reboot end if !Fog.mocking? || mocks_implemented @instance.wait_for { ready? } end end end
Version data entries
33 entries across 33 versions & 2 rubygems