mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
4c2736d0c2
Simplify attachment of boot disk, get_as_boot_disk no longer needed Add missing Disk.get_object method Allow setting deviceName when attaching a disk Add disks mocks
8 lines
305 B
Ruby
8 lines
305 B
Ruby
Shindo.tests("Fog::Compute[:google] | servers", ['google']) do
|
|
|
|
@zone = 'us-central1-a'
|
|
@disk = create_test_disk(Fog::Compute[:google], @zone)
|
|
|
|
collection_tests(Fog::Compute[:google].servers, {:name => 'fogservername', :zone_name => @zone, :machine_type => 'n1-standard-1', :disks => [@disk]})
|
|
|
|
end
|