1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[digitalocean|compute] fix merge conflict in fog_test_server_attributes

This commit is contained in:
Dave Donahue 2014-01-05 19:44:07 -05:00
parent 404af09125
commit 7d67e9726c

View file

@ -5,15 +5,10 @@ def service
end
def fog_test_server_attributes
<<<<<<< HEAD
image = service.images.find { |i| i.name == 'Ubuntu 13.10 x64' }
=======
# Hard coding numbers because requests from tests are sometimes failing.
# TODO: Mock properly instead
image = service.images.find { |i| i.name == 'Ubuntu 13.10 x64' }
image_id = image.nil? ? 1505447 : image.id
>>>>>>> master
region = service.regions.find { |r| r.name == 'New York 1' }
region_id = region.nil? ? 4 : region.id
flavor = service.flavors.find { |r| r.name == '512MB' }