mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
14 lines
536 B
Ruby
14 lines
536 B
Ruby
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
|