Sha256: 038ccc9e111e1f5a4ff6af81552af52afd6573dfa658cc6b4775640aee08facd

Contents?: true

Size: 350 Bytes

Versions: 73

Compression:

Stored size: 350 Bytes

Contents

Shindo.tests('Fog::Compute[:digitalocean] | destroy_server request', ['digitalocean', 'compute']) do

  service = Fog::Compute[:digitalocean]
  server = fog_test_server

  tests('success') do

    test('#destroy_server') do
      service.destroy_server(server.id).body['status'] == 'OK'
      service.servers.get(server.id) == nil
    end

  end
end

Version data entries

73 entries across 73 versions & 6 rubygems

Version Path
ns-fog-1.22.9 tests/digitalocean/requests/compute/destroy_server_tests.rb
ns-fog-1.22.8 tests/digitalocean/requests/compute/destroy_server_tests.rb
ns-fog-1.22.7 tests/digitalocean/requests/compute/destroy_server_tests.rb
ns-fog-1.22.6 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-1.23.0 tests/digitalocean/requests/compute/destroy_server_tests.rb
ns-fog-1.22.4 tests/digitalocean/requests/compute/destroy_server_tests.rb
ns-fog-1.22.3 tests/digitalocean/requests/compute/destroy_server_tests.rb
ns-fog-1.22.2 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-1.22.1 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-1.22.0 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-1.21.0 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-maestrodev-1.20.0.20140305101839 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-maestrodev-1.20.0.20140305101305 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-maestrodev-1.19.0.20140212012611 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-1.20.0 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-maestrodev-1.19.0.20140110004459 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-maestrodev-1.19.0.20140110003812 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-maestrodev-1.19.0.20140109202555 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-maestrodev-1.19.0.20140107192102 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-maestrodev-1.19.0.20140107142106 tests/digitalocean/requests/compute/destroy_server_tests.rb