Sha256: 1fceb43e1f687438b74f4ba6be3639752b59b4aa4ad8081577cbc2e393fc9a4f

Contents?: true

Size: 672 Bytes

Versions: 39

Compression:

Stored size: 672 Bytes

Contents

Shindo.tests('Fog::Compute[:digitalocean] | servers collection', ['digitalocean']) do
  service = Fog::Compute[:digitalocean]

  options = {
    :name => "#{fog_server_name}-#{Time.now.to_i.to_s}"
  }.merge fog_test_server_attributes

  collection_tests(service.servers, options, true) do
    @instance.wait_for { ready? }
  end

  tests("#bootstrap").succeeds do
    pending if Fog.mocking?
    @server = service.servers.bootstrap({
      :public_key_path => File.join(File.dirname(__FILE__), '../../fixtures/id_rsa.pub'),
      :private_key_path => File.join(File.dirname(__FILE__), '../../fixtures/id_rsa')
    }.merge(options))
  end

  @server.destroy if @server
end

Version data entries

39 entries across 39 versions & 3 rubygems

Version Path
fog-maestrodev-1.19.0.20140212012611 tests/digitalocean/models/compute/servers_tests.rb
fog-maestrodev-1.19.0.20140110004459 tests/digitalocean/models/compute/servers_tests.rb
fog-maestrodev-1.19.0.20140110003812 tests/digitalocean/models/compute/servers_tests.rb
fog-maestrodev-1.19.0.20140109202555 tests/digitalocean/models/compute/servers_tests.rb
fog-maestrodev-1.19.0.20140107192102 tests/digitalocean/models/compute/servers_tests.rb
fog-maestrodev-1.19.0.20140107142106 tests/digitalocean/models/compute/servers_tests.rb
fog-maestrodev-1.19.0.20131219203941 tests/digitalocean/models/compute/servers_tests.rb
fog-maestrodev-1.18.0.20131219193542 tests/digitalocean/models/compute/servers_tests.rb
fog-1.19.0 tests/digitalocean/models/compute/servers_tests.rb
fog-maestrodev-1.18.0.20131219033443 tests/digitalocean/models/compute/servers_tests.rb
fog-maestrodev-1.18.0.20131219032002 tests/digitalocean/models/compute/servers_tests.rb
fog-maestrodev-1.18.0.20131219030716 tests/digitalocean/models/compute/servers_tests.rb
fog-maestrodev-1.18.0.20131219022322 tests/digitalocean/models/compute/servers_tests.rb
fog-maestrodev-1.18.0.20131218202447 tests/digitalocean/models/compute/servers_tests.rb
fog-maestrodev-1.18.0.20131209091424 tests/digitalocean/models/compute/servers_tests.rb
fog-maestrodev-1.18.0.20131209090811 tests/digitalocean/models/compute/servers_tests.rb
fog-maestrodev-1.18.0.20131206115947 tests/digitalocean/models/compute/servers_tests.rb
fog-maestrodev-1.18.0.20131205181604 tests/digitalocean/models/compute/servers_tests.rb
fog-maestrodev-1.18.0.20131127194823 tests/digitalocean/models/compute/servers_tests.rb
fog-maestrodev-1.18.0.20131126183714 tests/digitalocean/models/compute/servers_tests.rb