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
fog-maestrodev-1.18.0.20131118164830 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-maestrodev-1.18.0.20131115184302 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-maestrodev-1.18.0.20131114200144 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-maestrodev-1.18.0.20131112185232 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-maestrodev-1.18.0.20131111203459 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-1.18.0 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-1.17.0 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-1.16.0 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-maestrodev-1.15.0.20130927082724 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-maestrodev-1.15.0.20130829165835 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-1.15.0 tests/digitalocean/requests/compute/destroy_server_tests.rb
gapinc-fog-1.14.0 tests/digitalocean/requests/compute/destroy_server_tests.rb
fog-maestrodev-1.14.0.20130806165225 tests/digitalocean/requests/compute/destroy_server_tests.rb