Sha256: 2185215561df60ab75e8ae7ee8c07625cf816301ec2f12ebe0f28c2f31629f78

Contents?: true

Size: 536 Bytes

Versions: 21

Compression:

Stored size: 536 Bytes

Contents

require 'securerandom'

Shindo.tests("Fog::Compute[:google] | servers", ['google']) do

  @zone = 'us-central1-a'
  @disk = create_test_disk(Fog::Compute[:google], @zone)
  random_string = SecureRandom.hex

  collection_tests(Fog::Compute[:google].servers, {:name => "fog-test-server-#{random_string}",
                                                   :zone_name => @zone,
                                                   :machine_type => 'n1-standard-1',
                                                   :disks => [@disk]})

end

Version data entries

21 entries across 21 versions & 4 rubygems

Version Path
fog-google-0.0.5 tests/models/compute/servers_tests.rb
fog-google-0.0.4 tests/models/compute/servers_tests.rb
fog-google-0.0.3 tests/models/compute/servers_tests.rb
fog-google-0.0.2 tests/models/compute/servers_tests.rb
fog-1.29.0 tests/google/models/compute/servers_tests.rb
fog-1.28.0 tests/google/models/compute/servers_tests.rb
fog-1.27.0 tests/google/models/compute/servers_tests.rb
fog-1.26.0 tests/google/models/compute/servers_tests.rb
fog-1.25.0 tests/google/models/compute/servers_tests.rb
nsidc-fog-1.24.1 tests/google/models/compute/servers_tests.rb
fog-1.24.0 tests/google/models/compute/servers_tests.rb
ns-fog-1.22.11 tests/google/models/compute/servers_tests.rb
ns-fog-1.22.10 tests/google/models/compute/servers_tests.rb
ns-fog-1.22.9 tests/google/models/compute/servers_tests.rb
ns-fog-1.22.8 tests/google/models/compute/servers_tests.rb
ns-fog-1.22.7 tests/google/models/compute/servers_tests.rb
ns-fog-1.22.6 tests/google/models/compute/servers_tests.rb
fog-1.23.0 tests/google/models/compute/servers_tests.rb
ns-fog-1.22.4 tests/google/models/compute/servers_tests.rb
ns-fog-1.22.3 tests/google/models/compute/servers_tests.rb